/* ... (common.css content) ... */
:root {
    /* Colors - Light Mode Default */
    --bg-primary: #f8fafc; /* Slate 50 */
    --bg-secondary: #ffffff; /* White */
    --bg-tertiary: #f1f5f9; /* Slate 100 */
    --bg-glass: rgba(255, 255, 255, 0.8);
    --glass-blur: 10px;
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #334155; /* Slate 700 */
    --text-muted: #475569; /* Slate 600 */
    --accent-primary: #3b82f6; /* Blue 500 */
    --accent-secondary: #8b5cf6; /* Violet 500 */
    --accent-glow: rgba(59, 130, 246, 0.5);

    --border-color: rgba(148, 163, 184, 0.2);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 70px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Inter", "Noto Sans KR", sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-primary), transparent);
}

.glow-2 {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-secondary), transparent);
}

/* Typography & Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: saturate(180%) blur(var(--glass-blur));
    -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
    will-change: transform, backdrop-filter;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.35rem;
    /* margin-right: 48px; */
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

@keyframes pulse-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
    }
}

.logo-text {
    background: linear-gradient(135deg, #1e293b, #475569);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    display: block;
    position: relative;
    transition: all var(--transition-normal);
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

/* Navigation Highlight */
.nav-highlight {
    color: var(--accent-primary) !important;
    font-weight: 700 !important;
    position: relative;
    overflow: visible;
}

.nav-highlight::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 8px;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    animation: nav-pulse 2s infinite;
}

@keyframes nav-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.1;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wiki-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.wiki-link .icon {
    font-size: 1.1rem;
}

.wiki-link:hover {
    background: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.vertical-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    margin: 0 4px;
}

.controls {
    display: flex;
    gap: 12px;
}

.controls button {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0 12px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls button::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 ease;
}

.controls button:hover::before {
    left: 100%;
}

.controls button:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.controls button:active {
    transform: translateY(0);
}

/* Custom Dropdowns */
.custom-dropdown {
    position: relative;
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 140px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.custom-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
    width: 100%;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
    min-width: 0 !important;
    transform: none !important;
}

.dropdown-option:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--text-primary) !important;
    transform: none !important;
}

.dropdown-option.selected {
    background: rgba(59, 130, 246, 0.25) !important;
    color: var(--accent-primary) !important;
    font-weight: 600 !important;
}

.dropdown-option .icon {
    font-size: 1rem;
    min-width: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg,
.theme-icon svg {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
}

.lang-text {
    font-size: 1.35em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-top: -2px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 32px;
    margin-top: 80px;
    background: var(--bg-tertiary);
}

.wiki-license-notice {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wiki-license-notice .notice-main {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.wiki-license-notice .notice-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.wiki-license-notice a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.company-info p {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive - Common Styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .nav-links,
    .theme-dropdown,
    .vertical-divider {
        display: none;
    }
}

/* ==============================================
   Sticky Footer
============================================== */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* ==============================================
   Static Page Hero
============================================== */
.static-page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.static-page-hero h1 {
    margin-bottom: 2rem;
}

.static-page-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

/* Wiki Specific Layout Styles */
body {
    background-color: #ffffff;
}

.wiki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px; /* Top padding for fixed header */
}

/* Search Bar / Hero Area */
.wiki-search-hero {
    margin-bottom: 40px;
}

.wiki-search-bar {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.wiki-search-input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-primary);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.wiki-search-input:focus {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

/* Main Grid Layout */
.wiki-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    /* align-items 기본값(stretch)으로 사이드바가 본문 높이와 동일하게 늘어남 */
    /* 이로 인해 sticky 광고가 본문 전체 범위에서 동작 가능 */
}

/* Mobile/Desktop Visibility Utilities */
.mobile-visible-infobox {
    display: none;
}

@media (max-width: 900px) {
    .wiki-grid {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar completely on mobile (hides vertical ad & desktop infobox) */
    .wiki-sidebar {
        display: none !important;
    }

    /* Show mobile infobox */
    .mobile-visible-infobox {
        display: block;
        margin-bottom: 32px;
    }
}

/* Article Content */
.wiki-article {
    min-width: 0;
}

.wiki-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.3;
}

.wiki-meta-desc {
    background-color: var(--bg-tertiary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent-primary);
}

/* Table of Contents */
.wiki-toc {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: inline-block;
    min-width: 300px;
    margin-bottom: 32px;
}

.wiki-toc-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.wiki-toc ul {
    padding-left: 0;
    list-style-type: none;
}

.wiki-toc ul ul {
    padding-left: 24px;
}

.wiki-toc li {
    margin-bottom: 6px;
}

.wiki-toc a {
    color: var(--accent-primary);
    text-decoration: none;
}

.wiki-toc a:hover {
    text-decoration: underline;
}

/* Wiki Floating Image */
.wiki-thumb {
    float: right;
    clear: right;
    width: 250px;
    margin: 0 0 1rem 1rem;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    padding: 4px;
    border-radius: 4px;
}

.wiki-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.wiki-thumb-caption {
    padding: 8px 4px 4px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .wiki-thumb {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 16px 0;
    }
}

/* 좌측 플로팅 이미지 */
.wiki-thumb-left {
    float: left;
    clear: left;
    margin: 0 1rem 1rem 0;
}

@media (max-width: 600px) {
    .wiki-thumb-left {
        float: none;
        margin: 16px 0;
    }
}

/* 섹션별 clear 적용 (이미지 침범 방지) */
.wiki-text {
    clear: both;
}

/* Ad Area */
.wiki-ad-area {
    width: 100%;
    height: 250px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
}

.wiki-ad-area.vertical {
    height: 600px;
}

/* Sidebar Sticky Container: 광고 + 맨위로 버튼 고정 */
.sidebar-sticky-container {
    position: sticky;
    top: 90px; /* 헤더 높이(70px) + 여유(20px) */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 맨 위로 가기 버튼 - 화면 하단 고정 */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 170px; /* 사이드바(340px)의 절반 */
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        all var(--transition-normal),
        opacity 0.3s ease,
        visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    /* 초기 상태: 숨김 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 버튼이 보이는 상태 */
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
}

.scroll-to-top-btn .icon {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 모바일에서 맨 위로 버튼 숨김 (사이드바도 숨겨지므로) */
@media (max-width: 900px) {
    .scroll-to-top-btn {
        display: none !important;
    }
}

/* Sidebar / Infobox */
.wiki-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.infobox {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.infobox-header {
    background-color: #f1f5f9;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #cbd5e1;
    font-size: 1.1rem;
}

.infobox-image {
    padding: 12px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.infobox-image .placeholder {
    width: 100%;
    height: 200px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    border: 1px dashed #cbd5e1;
}

.infobox-table {
    width: 100%;
    border-collapse: collapse;
}

.infobox-table th,
.infobox-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.infobox-table th {
    width: 100px;
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Main Content Table (Record Table) Vertical Borders */
.wiki-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}

.wiki-text table th {
    background-color: #f1f5f9;
    font-weight: 700;
    text-align: center;
    border: 1px solid #cbd5e1;
    padding: 10px;
}

.wiki-text table td {
    border: 1px solid #cbd5e1;
    padding: 10px;
}

.wiki-text table caption {
    padding: 8px;
    font-weight: bold;
    color: #475569;
}

/* Wiki Links in Content */
.wiki-text a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent; /* hover 시 밑줄 효과를 위해 */
    transition: border-bottom-color var(--transition-fast);
}

.wiki-text a:hover {
    border-bottom-color: var(--accent-primary);
}

/* Read More Section */
.read-more-section {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
}

.read-more-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.read-more-list li {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.read-more-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Read More Summary Line Clamp */
.read-more-summary {
    font-size: 0.9rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 보여줄 줄 수 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5; /* 줄 간격 명시 */
    max-height: 3em; /* line-height * line-clamp (1.5 * 2) = 3em fallback */
}

/* ==============================================
   Table Scroll Hint & Sticky Columns
============================================== */
.scroll-hint-container {
    position: relative;
    margin: 1rem 0;
}

.scroll-hint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    opacity: 0;
    pointer-events: none; /* 클릭 통과 */
    transition: opacity 0.5s ease;
    z-index: 10;
    border-radius: 8px;
}

.scroll-hint-container.animate .scroll-hint-overlay {
    animation: fade-hint 2.5s ease forwards;
}

@keyframes fade-hint {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.scroll-hand {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: hand-move 1.5s infinite ease-in-out;
}

@keyframes hand-move {
    0%,
    100% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Table Actions (Sticky Toggle Button) */
.table-actions {
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-end;
}

.toggle-sticky-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-sticky-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Sticky Column Styles */
/* 기본적으로 첫 번째 열 고정 */
.wiki-table th:first-child,
.wiki-table td:first-child {
    position: sticky;
    left: 0;
    background-color: #fff; /* 투명하면 글자 겹침 방지 */
    z-index: 1;
    border-right: 2px solid #e2e8f0; /* 구분선 */
}

.wiki-table th:first-child {
    background-color: #f1f5f9; /* 헤더 배경색 */
    z-index: 2; /* 헤더가 더 위에 */
}

/* .no-sticky 클래스가 붙으면 고정 해제 */
.wiki-table.no-sticky th:first-child,
.wiki-table.no-sticky td:first-child {
    position: static;
    border-right: 1px solid #cbd5e1; /* 기본 보더로 복귀 */
}

/* Infobox Sub-Header Fix */
.infobox-sub-header {
    background-color: #e2e8f0;
    padding: 8px 12px;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #cbd5e1;
    border-top: 1px solid #cbd5e1; /* 상단 구분선 추가 */
    font-size: 0.95rem;
    color: #334155;
}

/* 첫 번째 sub-header는 상단 border 제거 (이미지나 헤더 바로 아래일 경우) */
.infobox-image + .infobox-sub-header,
.infobox-header + .infobox-sub-header {
    border-top: none;
}

/* Wiki Section Headings */
.wiki-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.3;
}

.wiki-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.wiki-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}
/* Sticky Sentinel (JS에서 사용) */
.sticky-sentinel {
    width: 100%;
    height: 1px;
    background: transparent;
    pointer-events: none;
}

/* Section Divider (Medium style dots) - Apply via JS (.has-divider) */
.wiki-text h2.has-divider::before {
    content: "• • •";
    display: block;
    text-align: center;
    font-size: 1.5rem;
    color: #94a3b8; /* Slate 400 - 은은한 회색 */
    margin-bottom: 40px;
    letter-spacing: 16px;
    margin-top: 10px; /* 기존 margin-top과 합쳐져서 적당한 간격 형성 */
    line-height: 1;
}
