/* Sub-layout CSS extracted from Organization/About pages */
/* Base Variables if not already defined, but assuming kicda-org-v2 or similar handles it. */
/* If not, we might need to rely on main.css or define them here */

/* Sub Header Banner */
.sub-header {
    background-color: var(--kicda-navy, #1e3a8a);
    color: white;
    padding: 200px 0 60px;
    margin-top: 0;
    /* Default background, specific pages can override this inline if needed */
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

/* Sub Layout Container */
.sub-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    padding: 80px 0;
}

/* Sidebar Navigation */
.sidebar {
    background: white;
}

.lnb-title {
    background-color: var(--kicda-navy, #1e3a8a);
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Noto Serif KR', serif;
}

.lnb-menu {
    border: 1px solid #e2e8f0;
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnb-item a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: var(--text-body, #334155);
    transition: all 0.2s;
    text-decoration: none;
}

.lnb-item a:last-child {
    border-bottom: none;
}

.lnb-item a:hover,
.lnb-item a.active {
    background-color: var(--bg-gray, #f8fafc);
    color: var(--kicda-navy, #1e3a8a);
    font-weight: 600;
    border-left: 4px solid var(--kicda-navy, #1e3a8a);
    padding-left: 16px;
}

/* Content Header */
.content-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--kicda-navy, #1e3a8a);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.content-title {
    font-size: 2rem;
    color: var(--text-primary, #0f172a);
    font-family: 'Noto Serif KR', serif;
    margin: 0;
    line-height: 1;
}

.breadcrumb {
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}

.breadcrumb span::after {
    content: '>';
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb span:last-child::after {
    content: none;
}

/* Page Content Generic Styles */
.page-content {
    font-size: 1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
    .sub-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        margin-bottom: 40px;
    }

    .lnb-menu {
        display: none;
        /* Can be toggled or styled differently for mobile */
    }

    /* Simple mobile sidebar adaptation */
    .lnb-title {
        cursor: pointer;
    }
}