/* 모바일 대응 .content-container 스타일 */
@media (max-width: 768px) {
    .content-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
    }

    .content-container img,
    .content-container .content-body,
    .content-container .content-top-image img,
    .content-container .content-bottom-image img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .content-container img {
        display: block !important;
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 1em auto !important;
        vertical-align: middle !important;
    }

    .content-container p,
    .content-container span,
    .content-container div,
    .content-container td {
        overflow-wrap: break-word !important;
        float: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .content-container * {
        word-break: break-all;
    }

    .content-container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}

/* 서브메뉴 박스 디자인 및 가운데 정렬 */
.sub-menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0 32px 0;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(42, 125, 225, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.04);
    padding: 18px 20px 10px 20px;
    border: 1.5px solid #e3eaf3;
    min-height: 56px;
}

.sub-menu a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 18px;
    height: 40px;
    line-height: 28px;
    background: #f3f3f3;
    color: #333;
    font-weight: 500;
    font-size: 0.97em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 6px;
    min-width: 60px;
}

.sub-menu a.active,
.sub-menu a:hover {
    background: var(--jayjun_gold);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content-wrapper {
    margin: 0 auto;
    background: #fff;
    margin-top: 0;
    /*padding: 10px;*/
}

.content-header {
    background: #333;
    color: #fff;
    padding: 20px;
    display: none;
}

.content-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.content-meta {
    font-size: 14px;
    color: #ccc;
}

.content-body {
    padding: 0;
    min-height: 400px;
    margin-top: 0;
    justify-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.error-box {
    padding: 30px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    color: #856404;
}

.sub-menu {
    margin: 0 0 32px 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.sub-menu .nav-link {
    border-radius: 18px;
    min-width: 60px;
    font-weight: 500;
    font-size: 0.97em;
    margin-bottom: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sub-menu .nav-link.active,
.sub-menu .nav-link:hover,
.sub-menu .nav-link.current-menu {
    background: var(--jayjun_gold);
    color: #fff;
    font-weight: 800;
    filter: brightness(0.97) contrast(1.15);
}

ul.liststyle_check {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

ul.liststyle_check li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-left: 0;
}

ul.liststyle_check li::before {
    content: "";
    width: 10px;
    height: 6px;
    margin-top: 0.35em;
    border-left: 2px solid #beaa6b;
    border-bottom: 2px solid #beaa6b;
    transform: rotate(-45deg);
    flex: 0 0 10px;
}


.content-body .map#map {
    text-align: center;
}

.content-body .map#map > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
}

.content-body .map#map > img {
    display: block;
    margin: 12px auto 0;
}