/* =========================================
   ✨ Premium Header & Navigation Styles
========================================= */
body { margin: 0; padding: 0; font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
.wrap-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
a { text-decoration: none; }

/* 1. 상단 유틸리티 바 (더욱 차분하고 모던한 색상) */
.premium-top-bar { background: #0f172a; color: #94a3b8; font-size: 12px; padding: 8px 0; letter-spacing: 0.5px; }
.premium-top-bar .wrap-inner { display: flex; justify-content: flex-end; }
.premium-top-bar a { color: #cbd5e1; margin-left: 25px; transition: color 0.3s ease; display: flex; align-items: center; }
.premium-top-bar a i { margin-right: 6px; font-size: 14px; }
.premium-top-bar a:hover { color: #ffffff; }

/* 2. 메인 로고 및 검색 바 */
.premium-header { background: #ffffff; padding: 20px 0; border-bottom: 1px solid #e2e8f0; }
.premium-header-flex { display: flex; align-items: center; justify-content: space-between; }
.header-logo img { max-height: 55px; width: auto; transition: transform 0.3s ease; }
.header-logo img:hover { transform: scale(1.02); }

/* 검색창: 세련된 알약(Pill) 형태 및 포커스 애니메이션 적용 */
.header-search { flex-grow: 1; max-width: 550px; margin: 0 50px; }
.header-search form { 
    display: flex; 
    border: 2px solid #e2e8f0; 
    border-radius: 50px; 
    background: #f8fafc; 
    height: 46px; 
    transition: all 0.3s ease; 
    overflow: hidden;
}
.header-search form:focus-within {
    border-color: #ce2029;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(206, 32, 41, 0.1);
}
.header-search input { 
    flex-grow: 1; 
    border: none; 
    padding: 0 25px; 
    font-size: 14.5px; 
    outline: none; 
    color: #1e293b; 
    background: transparent;
}
.header-search input::placeholder { color: #94a3b8; }
.header-search button { 
    background: #ce2029; 
    color: #fff; 
    border: none; 
    padding: 0 30px; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background 0.3s ease; 
}
.header-search button:hover { background: #b91c1c; }

/* 우측 LINE 배너 등 */
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions img { height: 42px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.header-actions img:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* 3. GNB (메인 내비게이션 메뉴) */
.premium-nav { 
    background: linear-gradient(to right, #ce2029, #b91c1c); /* 고급스러운 그라데이션 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.premium-nav-flex { display: flex; justify-content: space-between; align-items: center; }
.main-menu, .sub-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.main-menu li a, .sub-menu li a { 
    display: flex; 
    align-items: center; 
    color: #ffffff; 
    font-size: 15px; 
    font-weight: bold; 
    padding: 14px 18px; 
    transition: all 0.3s ease; 
    letter-spacing: 0.5px; 
    white-space: nowrap; 
}
.main-menu li a i { margin-right: 8px; font-size: 17px; opacity: 0.9; }
.main-menu li a:hover, .sub-menu li a:hover { background: rgba(255, 255, 255, 0.15); }
.main-menu li:first-child a { background: rgba(0, 0, 0, 0.15); } /* 홈 버튼 강조 */

.sub-menu { gap: 5px; }
.sub-menu li a { font-size: 13.5px; padding: 14px 15px; opacity: 0.9; font-weight: normal; }
.sub-menu li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; background: transparent; }

/* =========================================
   🔥 스마트 기기 (모바일/태블릿) 반응형 최적화
========================================= */

/* 태블릿 이하 (992px 이하) - 본문 레이아웃 1단 강제 변환 */
@media screen and (max-width: 992px) {
    .sub-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }
    .sub-left {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 25px;
    }
    .sub-right {
        width: 100% !important;
    }
}

/* 모바일 폰 (768px 이하) - 헤더 및 메뉴 스와이프 적용 */
@media screen and (max-width: 768px) {
    .premium-top-bar { padding: 6px 0; }
    .premium-top-bar .wrap-inner { justify-content: center; }
    
    /* 헤더 로고, 검색창 세로로 깔끔하게 배치 */
    .premium-header { padding: 15px 0; }
    .premium-header-flex { flex-direction: column; gap: 15px; align-items: stretch; }
    .header-logo { text-align: center; }
    .header-search { margin: 0; width: 100%; max-width: 100%; }
    .header-actions { display: none; } /* 공간 확보를 위해 모바일에서는 LINE 배너 숨김 */

    /* 빨간색 GNB 메뉴 가로 스크롤(스와이프) 적용 */
    .premium-nav-flex { flex-direction: column; align-items: stretch; }
    .main-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        padding: 0 5px;
    }
    .main-menu::-webkit-scrollbar { display: none; }
    .main-menu li a { padding: 12px 16px; font-size: 14px; }
    .sub-menu { display: none; } /* 모바일 간소화를 위해 서브메뉴 숨김 */
}

/* =========================================
   🔥 모바일 화면: 본문 먼저, 메뉴는 맨 아래로 강제 이동
========================================= */
@media screen and (max-width: 1024px) {
    .sub-container {
        display: flex !important;
        flex-direction: column !important;
    }
    /* 1순위: 우측 본문(.sub-right)을 맨 위로 끌어올림 */
    .sub-container .sub-right {
        order: 1 !important;
        width: 100% !important;
    }
    /* 2순위: 본문이 아닌 나머지(좌측 메뉴 등)를 맨 아래로 내림 */
    .sub-container > :not(.sub-right) {
        order: 2 !important;
        width: 100% !important;
        margin-top: 40px !important; 
    }
    /* 좌측 메뉴 디자인 모바일 최적화 */
    .sub-container #left_box, 
    .sub-container .sub-left {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* =========================================
   폰트 강제 적용 (Meiryo) 및 리셋
========================================= */
html, body, .sub-tour, .sub-tour * {
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', sans-serif !important;
}

html, body {
    overflow-x: hidden !important; 
    width: 100% !important;
    max-width: 100vw !important;
    background-color: #f8fafc;
}

@media screen and (max-width: 1200px) {
    .wrap, .sub-container, .all, .contents, .wrap-inner, #head_box, #foot_box, table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}

/* =========================================
   1. 기본 레이아웃 (PC 기준)
========================================= */
.sub-container {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 50px auto;
    box-sizing: border-box;
}
.sub-left {
    width: 250px;
    flex-shrink: 0;
    margin-right: 30px;
    float: none !important;
}
.sub-right {
    flex: 1;
    min-width: 0;
    float: none !important;
}

/* =========================================
   2. 대형 스크린 (3장 이미지 슬라이더 + 반투명 박스)
========================================= */
.modern-hero {
    position: relative;
    width: 100%;
    height: 360px; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #f1f5f9; 
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-slider img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    opacity: 0;
    animation: fade3 15s infinite;
}

.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: -10s; }
.hero-slider img:nth-child(3) { animation-delay: -5s; }

@keyframes fade3 {
    0%, 26% { opacity: 1; }
    33%, 93% { opacity: 0; }
    100% { opacity: 1; }
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.15); 
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(8px); 
    padding: 25px 50px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); 
    text-align: center;
}

/* 🔥 빨간 글씨에 하얀색 그림자(Glow) 추가 */
.modern-hero h1 {
    font-size: 1.3rem; 
    font-weight: 900;
    color: rgb(153, 10, 5); 
    margin: 0 0 10px 0; 
    letter-spacing: 1px;
    /* 하얀색 그림자를 여러 겹 겹쳐서 또렷한 테두리 및 발광 효과를 줍니다 */
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 1), 
        0 0 15px rgba(255, 255, 255, 0.9), 
        1px 1px 3px rgba(255, 255, 255, 0.8);
}

.modern-hero p {
    font-size: 1.05rem; 
    font-weight: 600;
    color: #ffffff; 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); 
    margin: 0;
}

/* =========================================
   3. 우측 본문 영역 분할
========================================= */
.index-right-layout {
    display: flex;
    gap: 25px;
    width: 100%;
}
.index-center-col {
    flex: 1;
    min-width: 0;
}
.index-right-col {
    width: 220px; 
    flex-shrink: 0;
}

/* =========================================
   4. 중앙 투어 리스트 (디자인 수정: 빨간 엑센트)
========================================= */
.index-center-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #fff;
    border-left: 5px solid #ce2029; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.modern-tour-card {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px; 
    padding: 15px;
    margin-bottom: 20px; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.03); 
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease; 
    box-sizing: border-box;
}

.modern-tour-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(206, 32, 41, 0.15); 
    border-color: rgba(206, 32, 41, 0.3); 
}

.modern-tour-card img.thumb {
    width: 180px; 
    height: 120px;
    object-fit: cover;
    border-radius: 8px; 
    margin-right: 15px;
    flex-shrink: 0;
}
.modern-tour-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modern-tour-title {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
    line-height: 1.3;
}
.modern-tour-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.modern-tour-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.badge-popular {
    background: #ce2029;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}
.modern-tour-price {
    color: #1e293b;
    font-weight: bold;
    font-size: 15px;
}
.modern-tour-price span {
    color: #ce2029;
}

/* =========================================
   5. 우측 사이드 패널 (빨간 바탕 하얀 글씨)
========================================= */
.right-side-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0; 
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden; 
}
.right-side-title {
    background: #ce2029; 
    color: #fff; 
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    margin: 0;
}
.right-side-content {
    padding: 15px; 
}

/* 공지사항 리스트 */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-list li {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4;
}
.notice-list li a { color: #475569; text-decoration: none; }
.notice-list li a:hover { color: #ce2029; font-weight: bold; }

/* 배너 리스트 */
.banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.banner-list img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s;
}
.banner-list img:hover { transform: scale(1.02); }

/* =========================================
   6. 반응형 모바일 (태블릿/스마트폰)
========================================= */
@media screen and (max-width: 1024px) {
    .sub-container {
        padding: 0 15px !important;
        flex-direction: column;
    }
    .sub-left {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 25px;
    }
    .sub-right {
        width: 100% !important;
    }
    .index-right-layout {
        flex-direction: column; 
    }
    .index-right-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .modern-tour-card {
        flex-direction: column;
    }
    .modern-tour-card img.thumb {
        width: 100% !important;
        height: 250px !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    .keyword-banner-panel {
        display: none !important;
    }
    .modern-hero { height: 350px; }
}
@media screen and (max-width: 768px) {
    .modern-hero { height: 280px; }
    .modern-tour-card img.thumb { height: 200px !important; }
}
/* 1. 완벽한 2단 레이아웃 분할 */
.sub-container::after {
    content: "";
    display: table;
    clear: both;
}
.sub-left {
    float: left;
    width: 250px;
    margin-right: 30px; 
}
.sub-right {
    float: left;
    width: calc(100% - 280px); 
}

/* 2. Modern Accordion Sidebar Styles */
.sub-left-nav {
    font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100%;
}
.sub-left-nav .title {
    background: #ce2029;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #b91c1c;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Accordion Card Design */
.gallery-card {
    display: block;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}
.gallery-card:last-child {
    border-bottom: none;
}

/* 카드 헤더 (메인 카테고리) */
.card-header {
    padding: 12px 20px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    cursor: pointer; 
    user-select: none;
}

.gallery-card.is-open .card-header, .card-header:hover {
    background: #fdf8f6;
}

.cat-main {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    transition: color 0.3s ease;
}

.gallery-card.is-open .cat-main, .card-header:hover .cat-main {
    color: #ce2029;
}

/* 펼쳐짐/접힘 아이콘 */
.toggle-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-card.is-open .toggle-icon {
    transform: rotate(180deg); 
    color: #ce2029;
}

/* 📸 이미지 래퍼 */
.card-image-wrap {
    width: 100%;
    height: auto; 
    overflow: hidden;
    background: #e2e8f0;
    border-bottom: 1px solid #f1f5f9;
}
.card-image-wrap img {
    width: 100% !important;
    height: auto !important; 
    display: block !important;
}

/* 서브 카테고리 영역 (초기 접힘) */
.card-expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    background: #fff;
}

/* JS 작동 시 펼침 */
.gallery-card.is-open .card-expanded-content {
    max-height: 1500px; 
    opacity: 1;
}

/* 서브 카테고리 링크 */
.cat-sub {
    display: block;
    padding: 10px 20px 10px 35px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    border-bottom: 1px dashed #f1f5f9;
    position: relative;
    transition: all 0.2s;
}
.cat-sub:last-child { border-bottom: none; }
.cat-sub::before {
    content: '▶';
    position: absolute;
    left: 20px;
    color: #cbd5e1;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s;
}
.cat-sub:hover, .cat-sub.active {
    background: #fff0f2;
    color: #ce2029;
    font-weight: bold;
}
.cat-sub:hover::before, .cat-sub.active::before { color: #ce2029; }
/*left_emp */
/* Modern Gallery Sidebar Styles */
.sub-left-nav.modern-gallery-sidebar {
    font-family: "Meiryo", -apple-system, sans-serif;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100%; /* 부모 .sub-left (250px)를 꽉 채움 */
}

.modern-gallery-sidebar .title {
    background: #ce2029;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #b91c1c;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    background: #f8fafc;
}

/* Accordion Card Design */
.gallery-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

/* 카드 제목 영역 (클릭 타겟) */
.card-header {
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; /* 클릭 가능한 손가락 모양 */
    user-select: none;
}

/* 열려있거나 마우스를 올렸을 때의 헤더 스타일 */
.gallery-card.is-open .card-header, .card-header:hover {
    background: #fdf8f6;
    border-bottom-color: #fca5a5;
}

.card-title {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    margin: 0;
    transition: color 0.3s ease;
}

.gallery-card.is-open .card-title, .card-header:hover .card-title {
    color: #ce2029;
}

/* 펼쳐짐/접힘 아이콘 (화살표) */
.toggle-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-card.is-open .toggle-icon {
    transform: rotate(180deg);
    color: #ce2029;
}

/* 확장 콘텐츠 영역 (초기엔 접힘) */
.card-expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
}

/* JS로 is-open 클래스가 붙으면 펼쳐짐 */
.gallery-card.is-open .card-expanded-content {
    max-height: 500px; 
    opacity: 1;
}

/* 이미지 래퍼 */
.card-image-wrap {
    width: 100%;
    height: auto; 
    overflow: hidden;
    background: #e2e8f0;
}

.card-image-wrap img {
    width: 100% !important;
    height: auto !important; 
    display: block !important;
    transition: transform 0.5s ease;
}

/* 펼쳐진 이미지를 호버했을 때 줌 효과 */
.card-expanded-link:hover .card-image-wrap img {
    transform: scale(1.05);
}

/* 설명 텍스트 */
.card-desc {
    padding: 12px;
    font-size: 11px;
    color: #475569;
    line-height: 1.5;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

/* 전체보기 버튼 텍스트 */
.view-all-text {
    display: block;
    margin-top: 8px;
    color: #0284c7;
    font-weight: bold;
    text-align: right;
    font-size: 12px;
}

/* left_golf🔥 골프 전용 독립 CSS (클래스명 충돌 방지) */
#golf-sidebar-wrap {
    font-family: "Meiryo", "メイリオ", -apple-system, sans-serif;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100%;
}

#golf-sidebar-wrap .golf-title {
    background: #059669; /* 에메랄드 그린 */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #047857;
}

#golf-sidebar-wrap .golf-container {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    background: #f8fafc;
}

#golf-sidebar-wrap .golf-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#golf-sidebar-wrap .golf-header {
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

#golf-sidebar-wrap .golf-card.is-open .golf-header, 
#golf-sidebar-wrap .golf-header:hover {
    background: #ecfdf5;
    border-bottom-color: #6ee7b7;
}

#golf-sidebar-wrap .golf-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    margin: 0;
}

#golf-sidebar-wrap .golf-card.is-open .golf-card-title, 
#golf-sidebar-wrap .golf-header:hover .golf-card-title {
    color: #059669;
}

#golf-sidebar-wrap .golf-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

#golf-sidebar-wrap .golf-card.is-open .golf-icon {
    transform: rotate(180deg);
    color: #059669;
}

#golf-sidebar-wrap .golf-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
}

#golf-sidebar-wrap .golf-card.is-open .golf-content {
    max-height: 800px; 
    opacity: 1;
}

#golf-sidebar-wrap .golf-img-wrap {
    width: 100%;
    height: auto; 
    overflow: hidden;
    background: #e2e8f0;
}

#golf-sidebar-wrap .golf-img-wrap img {
    width: 100% !important;
    height: auto !important; 
    display: block !important;
}

/* 🔥 서브 링크 목록 스타일 (불릿 기호 완전 제거) */
#golf-sidebar-wrap .golf-sub {
    display: block;
    padding: 12px 15px !important; /* 기호를 위한 왼쪽 여백 제거 및 정상화 */
    position: relative; 
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    line-height: 1.4;
}

#golf-sidebar-wrap .golf-sub:hover, 
#golf-sidebar-wrap .golf-sub.active {
    background: #f8fafc;
    color: #059669;
    font-weight: bold;
}
/* ========================================
oahu_golf_map🗺️ 오아후섬 모던 인터랙티브 맵 전용 CSS
========================================= */
.map-premium-frame {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    padding: 35px;
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
    border-top: 5px solid #ce2029;
    position: relative;
    box-sizing: border-box;
}
.map-frame-title {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 25px 0;
    letter-spacing: 2px;
    font-family: 'Montserrat', 'Meiryo', sans-serif;
}
.map-frame-title span { color: #ce2029; }

.modern-map-container {
    position: relative;
    width: 100%;
    max-width: 560px; 
    margin: 0 auto;
    cursor: pointer; 
    -webkit-tap-highlight-color: transparent; 
}
.modern-map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    pointer-events: none; 
}
.map-pin {
    position: absolute;
    width: 16px; 
    height: 16px;
    background-color: #ce2029; 
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s;
    z-index: 5;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.3); background-color: #b91c1c; z-index: 10; }
.map-pin::before {
    content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid rgba(206, 32, 41, 0.5);
    animation: pulse 2s infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* =========================================
   💬 8방향 툴팁 독립 제어 (마우스 오버 기능 추가!)
========================================= */
.map-tooltip {
    position: absolute;
    background: #ffffff;
    color: #0f172a;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 'Meiryo', sans-serif;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none; 
}
.map-tooltip::after { content: ''; position: absolute; border-width: 6px; border-style: solid; }

/* 🌟 지도에 마우스를 올리거나(hover) 클릭(show-all) 시 무조건 표시 */
.map-pin:hover .map-tooltip,
.modern-map-container:hover .map-tooltip,
.modern-map-container.show-all .map-tooltip {
    opacity: 1 !important; visibility: visible !important; z-index: 20 !important;
}

/* 1️⃣ 기본 (위로 표시) */
.map-tooltip { bottom: 150%; left: 50%; transform: translateX(-50%); border-top: 3px solid #ce2029; }
.map-tooltip::after { top: 100%; left: 50%; transform: translateX(-50%); border-color: #ffffff transparent transparent transparent; }
.map-pin:hover .map-tooltip:not([class*="dir-"]), 
.modern-map-container:hover .map-tooltip:not([class*="dir-"]),
.modern-map-container.show-all .map-tooltip:not([class*="dir-"]) { bottom: 180% !important; }

/* 2️⃣ 아래로 표시 (.dir-bottom) */
.map-tooltip.dir-bottom { top: 150%; bottom: auto; left: 50%; transform: translateX(-50%); border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom::after { bottom: 100%; top: auto; left: 50%; transform: translateX(-50%); border-color: transparent transparent #ffffff transparent; }
.map-pin:hover .map-tooltip.dir-bottom, 
.modern-map-container:hover .map-tooltip.dir-bottom,
.modern-map-container.show-all .map-tooltip.dir-bottom { top: 180% !important; }

/* 3️⃣ 왼쪽으로 표시 (.dir-left) */
.map-tooltip.dir-left { right: 150%; left: auto; top: 50%; bottom: auto; transform: translateY(-50%); border-top: none; border-left: 3px solid #ce2029; }
.map-tooltip.dir-left::after { left: 100%; top: 50%; right: auto; transform: translateY(-50%); border-color: transparent transparent transparent #ffffff; }
.map-pin:hover .map-tooltip.dir-left, 
.modern-map-container:hover .map-tooltip.dir-left,
.modern-map-container.show-all .map-tooltip.dir-left { right: 180% !important; }

/* 4️⃣ 오른쪽으로 표시 (.dir-right) */
.map-tooltip.dir-right { left: 150%; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); border-top: none; border-right: 3px solid #ce2029; }
.map-tooltip.dir-right::after { right: 100%; top: 50%; left: auto; transform: translateY(-50%); border-color: transparent #ffffff transparent transparent; }
.map-pin:hover .map-tooltip.dir-right, 
.modern-map-container:hover .map-tooltip.dir-right,
.modern-map-container.show-all .map-tooltip.dir-right { left: 180% !important; }

/* 5️⃣ 왼쪽 대각선 위 (.dir-top-left) */
.map-tooltip.dir-top-left { bottom: 150%; right: -10px; left: auto; transform: none; border-top: 3px solid #ce2029; }
.map-tooltip.dir-top-left::after { top: 100%; right: 12px; left: auto; transform: none; border-color: #ffffff transparent transparent transparent; }
.map-pin:hover .map-tooltip.dir-top-left, 
.modern-map-container:hover .map-tooltip.dir-top-left,
.modern-map-container.show-all .map-tooltip.dir-top-left { bottom: 180% !important; }

/* 6️⃣ 오른쪽 대각선 위 (.dir-top-right) */
.map-tooltip.dir-top-right { bottom: 150%; left: -10px; right: auto; transform: none; border-top: 3px solid #ce2029; }
.map-tooltip.dir-top-right::after { top: 100%; left: 12px; right: auto; transform: none; border-color: #ffffff transparent transparent transparent; }
.map-pin:hover .map-tooltip.dir-top-right, 
.modern-map-container:hover .map-tooltip.dir-top-right,
.modern-map-container.show-all .map-tooltip.dir-top-right { bottom: 180% !important; }

/* 7️⃣ 왼쪽 대각선 아래 (.dir-bottom-left) */
.map-tooltip.dir-bottom-left { top: 150%; bottom: auto; right: -10px; left: auto; transform: none; border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom-left::after { bottom: 100%; top: auto; right: 12px; left: auto; transform: none; border-color: transparent transparent #ffffff transparent; }
.map-pin:hover .map-tooltip.dir-bottom-left, 
.modern-map-container:hover .map-tooltip.dir-bottom-left,
.modern-map-container.show-all .map-tooltip.dir-bottom-left { top: 180% !important; }

/* 8️⃣ 오른쪽 대각선 아래 (.dir-bottom-right) */
.map-tooltip.dir-bottom-right { top: 150%; bottom: auto; left: -10px; right: auto; transform: none; border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom-right::after { bottom: 100%; top: auto; left: 12px; right: auto; transform: none; border-color: transparent transparent #ffffff transparent; }
.map-pin:hover .map-tooltip.dir-bottom-right, 
.modern-map-container:hover .map-tooltip.dir-bottom-right,
.modern-map-container.show-all .map-tooltip.dir-bottom-right { top: 180% !important; }

@media screen and (max-width: 768px) {
    .map-premium-frame { padding: 20px; margin-bottom: 25px; }
    .map-frame-title { font-size: 20px; }
}
/* =========================================
top_slider 공통 모던 슬라이더 (Include 전용 CSS)
========================================= */
.modern-slider-inc {
    position: relative; 
    width: 100%; 
    height: 360px;
    border-radius: 12px; 
    overflow: hidden;
    margin-bottom: 35px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 어두운 배경 오버레이 (글씨 가독성 향상) */
.modern-slider-inc::after {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.25); 
    z-index: 1;
}

/* 슬라이드 이미지 애니메이션 */
.modern-slider-inc img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; animation: fade-inc 15s infinite; filter: brightness(0.95); transform: scale(1.05);
}
.modern-slider-inc img:nth-child(1) { animation-delay: 0s; }
.modern-slider-inc img:nth-child(2) { animation-delay: 5s; }
.modern-slider-inc img:nth-child(3) { animation-delay: 10s; }

@keyframes fade-inc { 
    0%, 20% { opacity: 1; transform: scale(1); } 
    33%, 100% { opacity: 0; transform: scale(1.05); } 
}

/* 캡처화면처럼 글씨 주변에 반투명 유리 박스 적용 */
.slider-text-inc { 
    position: relative; 
    z-index: 2; 
    color: #ffffff; 
    text-align: center;
    background: rgba(255, 255, 255, 0.15); /* 반투명 화이트 박스 */
    backdrop-filter: blur(2px); /* 뒤쪽 배경 흐림 효과(유리 질감) */
    -webkit-backdrop-filter: blur(8px);
    padding: 30px 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); 
/* }
.slider-text-inc h2 { 
    margin: 0 0 10px 0; 
    font-size: 28px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    color: #ffffff;
    font-family: 'Meiryo', sans-serif;
}
.slider-text-inc p { 
    margin: 0; 
    font-size: 16px; 
    font-weight: bold; 
    font-family: 'Meiryo', sans-serif;
} */
}
.slider-text-inc h2 { 
    margin: 0 0 10px 0; 
    font-size: 20px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    color: #ffffff;
    font-family: 'Meiryo', sans-serif;
}
.slider-text-inc p { 
    margin: 0; 
    font-size: 16px; 
    font-weight: bold; 
    font-family: 'Meiryo', sans-serif;
} 
/* 스마트폰 사이즈 대응 */
@media screen and (max-width: 768px) {
    .modern-slider-inc { height: 220px; }
    .slider-text-inc { padding: 15px 25px; width: 90%; }
    .slider-text-inc h2 { font-size: 20px; margin-bottom: 5px; }
    .slider-text-inc p { font-size: 13px; }
}
/* =========================================
footer_nw 🔥 초강력 모바일 여백 붕괴 방어막 (Vaccine Code)
- 사이트 내 숨어있는 모든 고정 너비를 모바일에서 무력화시킵니다.
========================================= */
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important; 
    margin: 0 !important; 
    padding: 0 !important;
}

@media screen and (max-width: 768px) {
    /* 사이트 내의 모든 태그가 모바일 화면을 넘지 못하게 강제 */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* 인라인 스타일로 고정된 옛날 너비(예: width: 1120px) 완전 무력화 */
    table, div, iframe, img, .wrap, .sub-container, .all, .contents, .top-nav-bottom, #head_box, #foot_box {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* 구형 테이블 레이아웃이 화면을 찢는 것 방지 */
    table {
        table-layout: fixed !important; 
        word-break: break-all !important;
    }
    
    img {
        height: auto !important;
    }
}

/* =========================================
   Premium Footer Styles (독립 클래스 적용)
========================================= */
.premium-footer {
    width: 100%;
    background: #0f172a;
    color: #94a3b8;
    font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 60px;
    border-top: 4px solid #ce2029;
    box-sizing: border-box;
    clear: both;
    position: relative;
    z-index: 100;
}
.premium-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.premium-footer a:hover {
    color: #fff;
}

.pf-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. 푸터 메뉴 바 */
.pf-menu-bar {
    background: #1e293b;
    padding: 20px 0;
    border-bottom: 1px solid #334155;
    width: 100%;
}
.pf-menu-bar .pf-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.pf-menu-bar a {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}
.pf-menu-bar span {
    color: #475569;
    font-size: 12px;
}

/* 2. 푸터 메인 정보 영역 */
.pf-main {
    padding: 40px 0;
    width: 100%;
}
.pf-main .pf-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pf-info {
    font-size: 13px;
    line-height: 1.8;
}
.pf-info strong {
    color: #fff;
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.pf-info-item {
    display: inline-block;
    margin-right: 15px;
    word-break: break-word;
}
.pf-info-divider {
    color: #475569;
    margin: 0 10px;
}

/* 3. 카피라이트 영역 */
.pf-copy {
    background: #0b1120;
    text-align: center;
    padding: 20px 15px;
    font-size: 12px;
    color: #64748b;
    letter-spacing: 0.5px;
    width: 100%;
}

/* =========================================
   🔥 스마트 기기 푸터 내부 반응형 설정
========================================= */
@media screen and (max-width: 768px) {
    /* 메뉴바 2단 Grid 강제 변환 */
    .pf-menu-bar .pf-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .pf-menu-bar span { display: none !important; }
    .pf-menu-bar a {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100% !important;
        background: #0f172a !important;
        text-align: center;
        padding: 12px 5px !important;
        border-radius: 6px;
        font-size: 13px;
        border: 1px solid #1e293b;
    }

    /* 메인 정보 영역 세로 1단 정렬 */
    .pf-main .pf-wrap {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }
    .pf-info-item {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 5px;
    }
    .pf-info-divider { display: none !important; }
    .pf-copy { line-height: 1.6; }
}