html, body {
    margin: 0;
    padding: 0;
    background: #f8fafc;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2563eb;
}

.site-nav-link {
    font-size: 0.95rem;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
}

.site-nav-link:hover {
    color: #111827;
}

.term-wrap {
    max-width: 760px;
}

.term-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.term-card-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
}

.term-card-title {
    margin: 0 0 24px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.term-item {
    padding: 16px 0;
    border-top: 1px solid #eef2f7;
}

.term-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.term-label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
}

.term-value {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #111827;
    word-break: keep-all;
}

.term-value.strong {
    font-weight: 700;
}

.summary-box {
    margin-top: 8px;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background: #f8fbff;
}

.summary-text {
    font-weight: 800;
    color: #1d4ed8;
}

.seo-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px 22px;
}

.seo-title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.seo-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #374151;
}

.site-footer {
    background: #ffffff;
}

.footer-text {
    font-size: 0.92rem;
    color: #6b7280;
}

@media (max-width: 991px) {
    .site-header .container {
        overflow-x: auto;
    }

    .site-header nav {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .term-page {
        padding-top: 24px !important;
        padding-bottom: 40px !important;
    }

    .term-card {
        border-radius: 20px;
        padding: 22px 18px;
    }

    .term-card-title {
        font-size: 1.65rem;
    }

    .term-value {
        font-size: 1rem;
        line-height: 1.65;
    }

    .seo-section {
        border-radius: 18px;
        padding: 20px 18px;
    }
}

/* ============================= */
/* 공통 섹션 타이틀 */
/* ============================= */
.section-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ============================= */
/* 관련 용어 */
/* ============================= */
.related-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 18px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-link {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.related-link:hover {
    background: #e2e8f0;
    color: #111827;
}

/* ============================= */
/* FAQ */
/* ============================= */
.faq-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 18px;
}

.faq-item {
    padding: 14px 0;
    border-top: 1px solid #eef2f7;
}

.faq-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.faq-question {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.faq-answer {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ============================= */
/* SEO 텍스트 */
/* ============================= */
.seo-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 18px;
}

.seo-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
}

.seo-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #374151;
}

/* ============================= */
/* 카테고리 색상 (추가) */
/* ============================= */
.category-it .term-card-badge {
    background: #eff6ff;
    color: #2563eb;
}

.category-startup .term-card-badge {
    background: #f0fdf4;
    color: #16a34a;
}

.category-marketing .term-card-badge {
    background: #faf5ff;
    color: #9333ea;
}

.category-finance .term-card-badge {
    background: #f0fdfa;
    color: #0f766e;
}

/* ============================= */
/* 모바일 미세 조정 */
/* ============================= */
@media (max-width: 767px) {

    .related-section,
    .faq-section,
    .seo-section {
        border-radius: 16px;
        padding: 18px 14px;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer,
    .seo-text {
        font-size: 0.9rem;
    }
}

/* ============================= */
/* 공통 섹션 */
/* ============================= */
.section-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ============================= */
/* SEO */
/* ============================= */
.seo-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 18px;
}

.seo-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
}

.seo-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #374151;
}

/* ============================= */
/* FAQ */
/* ============================= */
.faq-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px 18px;
}

.faq-toggle-btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.faq-toggle-btn:focus {
    outline: none;
    box-shadow: none;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    line-height: 1;
    color: #6b7280;
}

.faq-list {
    margin-top: 4px;
}

.faq-item {
    padding: 14px 0;
    border-top: 1px solid #eef2f7;
}

.faq-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.faq-question {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.faq-answer {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ============================= */
/* 관련 용어 */
/* ============================= */
.related-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 18px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-link {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.related-link:hover {
    background: #e2e8f0;
    color: #111827;
}

/* ============================= */
/* 카테고리 컬러 */
/* ============================= */
.category-it .term-card-badge {
    background: #eff6ff;
    color: #2563eb;
}

.category-startup .term-card-badge {
    background: #f0fdf4;
    color: #16a34a;
}

.category-marketing .term-card-badge {
    background: #faf5ff;
    color: #9333ea;
}

.category-finance .term-card-badge {
    background: #f0fdfa;
    color: #0f766e;
}

/* ============================= */
/* 모바일 */
/* ============================= */
@media (max-width: 767px) {
    .seo-section,
    .faq-section,
    .related-section {
        border-radius: 16px;
        padding: 18px 14px;
    }

    .section-title,
    .seo-title {
        font-size: 1.05rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer,
    .seo-text {
        font-size: 0.9rem;
    }
}

.faq-toggle-icon.is-open {
    transform: translateY(-1px);
}

.collapse {
    transition: none !important;
}

.collapsing {
    transition: height 0.2s ease;
}

.collapse > .faq-list {
    margin-top: 0 !important;
}

.faq-section {
    padding: 16px 18px;
}

.term-card-title-sub {
    font-size: 0.82em;
    font-weight: 700;
    color: #6b7280;
}

.search-box {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;

    display: flex;
    align-items: flex-start;
    justify-content: center;
	padding-top: 100px;
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    font-size: 1.2rem;
    padding: 14px 16px;
    border-radius: 8px;
}

.search-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.search-input::placeholder {
    color: #aaa;
}

.search-input::-webkit-input-placeholder {
    color: #aaa;
}

.search-input:-ms-input-placeholder {
    color: #aaa;
}

.search-results {
    background: #fff;
    border-radius: 8px;
    margin-top: 8px;
    overflow: hidden;

    max-height: 400px;      /* 👈 높이 제한 */
    overflow-y: auto;       /* 👈 스크롤 */
}

.search-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-item-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.search-item-sub {
    font-size: 0.8rem;
    color: #888;
}

.navbar-brand {
    color: #007bff !important;
    font-weight: 700;
}

.nav-search-btn {
    color: #007bff !important;
    border: 1px solid #007bff;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 700;
}

.nav-search-btn:active {
    background: #007bff;
    color: #fff !important;
}

/* ============================= */
/* 카테고리 페이지 */
/* ============================= */
.category-wrap {
    max-width: 860px;
}

.category-hero {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.category-hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-hero-title {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.category-hero-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.term-list-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.term-list-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.term-list-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
}

.term-list-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111827;
    letter-spacing: -0.02em;
}

.term-list-subtitle {
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.5;
}

.term-list-summary {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #374151;
}

.empty-category-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px 20px;
}

.empty-category-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.empty-category-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================= */
/* business 컬러 */
/* ============================= */
.category-business .term-card-badge,
.category-business .category-hero-badge,
.category-business .term-list-badge {
    background: #fff7ed;
    color: #c2410c;
}

@media (max-width: 767px) {
    .category-hero {
        border-radius: 20px;
        padding: 22px 18px;
    }

    .category-hero-title {
        font-size: 1.65rem;
    }

    .category-hero-text,
    .term-list-summary {
        font-size: 0.95rem;
    }

    .term-list-card,
    .empty-category-box {
        border-radius: 18px;
        padding: 18px 16px;
    }
}

.category-work .term-card-badge,
.category-work .category-hero-badge,
.category-work .term-list-badge {
    background: #eef2ff;
    color: #4338ca;
}

.category-wrap {
    max-width: 860px;
}

.category-hero {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.category-hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-hero-title {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.category-hero-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.term-list-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.term-list-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.term-list-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.term-list-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111827;
    letter-spacing: -0.02em;
}

.term-list-subtitle {
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.5;
}

.term-list-summary {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #374151;
}

.empty-category-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px 20px;
}

.empty-category-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.empty-category-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .category-hero {
        border-radius: 20px;
        padding: 22px 18px;
    }

    .category-hero-title {
        font-size: 1.65rem;
    }

    .category-hero-text,
    .term-list-summary {
        font-size: 0.95rem;
    }

    .term-list-card,
    .empty-category-box {
        border-radius: 18px;
        padding: 18px 16px;
    }
}

.term-icon {
    font-size: 22px;
    margin-bottom: 6px;
    color: #6b7280;
}

.term-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

/* 카테고리별 색상 */

.category-work .term-icon {
    color: #4f46e5;
}

.category-business .term-icon {
    color: #059669;
}

.category-marketing .term-icon {
    color: #dc2626;
}

.category-it .term-icon {
    color: #2563eb;
}

.category-finance .term-icon {
    color: #ca8a04;
}

.category-manufacturing .term-icon {
    color: #6b7280;
}

.category-startup .term-icon {
    color: #7c3aed;
}

.category-hospital .term-icon {
    color: #0284c7;
}

.mobile-menu-nav {
    margin-top:20px;
    background: #ffffff;
    border-top: 1px solid #ededed;
    text-align: center;
}

/* 메뉴 텍스트 */
.mobile-menu-nav > a {
    display: block;
    padding: 11px 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

/* 메뉴 사이 아주 약한 구분 */
.mobile-menu-nav > a:not(:last-of-type) {
    border-bottom: 1px solid #f4f4f4;
}

/* 첫 메뉴 시작 간격 */
.mobile-menu-nav > a:first-of-type {
    margin-top: 2px;
}

/* 검색 버튼 영역 */
.mobile-menu-search {
    margin-top: 6px;
    padding-top: 2px;
}

/* 버튼 스타일 */
.search-btn {
    display: inline-block;
    width: 100%;
    padding: 11px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #4a6cf7;
    color: #4a6cf7;
    border-radius: 20px;
    text-decoration: none;
    box-sizing: border-box;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff !important;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

body {
    overflow-x: hidden;
}

/* 기본 햄버거 */
.navbar-toggler .navbar-toggler-icon {
    transition: 0.25s ease;
}

/* 열렸을 때 X 아이콘 */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none;
    position: relative;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    top: 50%;
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

.category-hospital .term-card-badge {
	background: #fff1f2;
	color: #e11d48;
}