/* CSS Variables */
:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-light: #eff6ff;
    --bg-main: #f8fafc;
    --bg-panel: #ffffff;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --header-height: 70px;
}

/* Reset for this page */
#all * { 
    box-sizing: border-box; 
}

#all {
    scroll-behavior: smooth;
}

h1, h2, h3 { 
    color: var(--primary); 
    letter-spacing: -0.025em; 
    font-weight: 700; 
}

/* Layout Grid */
.hub-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: start;
}

/* Sidebar Navigation */
.hub-nav { 
    position: sticky; 
    top: 20px;
    background: var(--bg-panel); 
    padding: 20px; 
    border-radius: var(--radius); 
    border: 1px solid var(--border); 
    box-shadow: var(--shadow); 
}

.nav-title { 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    font-weight: 700; 
    letter-spacing: 0.05em; 
    margin-bottom: 15px; 
}

.nav-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    padding: 0;
    margin: 0;
}

.nav-link { 
    display: block; 
    padding: 10px 15px; 
    border-radius: 8px; 
    color: var(--text-body); 
    text-decoration: none;
    transition: all 0.2s;
}

.nav-link:hover, 
.nav-link.active { 
    background: var(--accent-light); 
    color: var(--accent); 
}

.nav-link.active { 
    font-weight: 600; 
}

/* Main Content Sections */
.content-section { 
    background: var(--bg-panel); 
    border-radius: var(--radius); 
    border: 1px solid var(--border); 
    padding: 30px; 
    margin-bottom: 30px; 
    box-shadow: var(--shadow); 
    scroll-margin-top: 100px; 
}

.section-header { 
    margin-bottom: 20px; 
    padding-bottom: 15px; 
    border-bottom: 2px solid var(--bg-main); 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.section-icon { 
    font-size: 1.5rem; 
}

.section-header h2 {
    margin: 0;
}

/* Info Grid and Cards */
.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 25px; 
}

.info-card { 
    background: var(--bg-main); 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
}

.info-card h4 { 
    margin-bottom: 10px; 
    color: var(--primary); 
}

.info-card p {
    margin: 0;
}

/* Policy Lists */
ul.policy-list { 
    padding-left: 20px; 
    margin-top: 15px; 
}

ul.policy-list li { 
    margin-bottom: 8px; 
}

/* Content Section Paragraphs */
.content-section > p {
    margin-bottom: 15px;
}

.content-section h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Links in content */
.content-section a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hub-layout { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin-top: 20px; 
    }
    
    .hub-nav { 
        position: sticky; 
        top: 0; 
        z-index: 90; 
        padding: 10px 15px; 
        overflow-x: auto; 
        border-radius: 0; 
        border-left: 0; 
        border-right: 0; 
        margin: 0 -20px 20px -20px; 
        width: calc(100% + 40px); 
    }
    
    .nav-title { 
        display: none; 
    }
    
    .nav-list { 
        flex-direction: row; 
        width: max-content; 
    }
    
    .nav-link { 
        white-space: nowrap; 
        padding: 8px 12px; 
        font-size: 0.9rem; 
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hub-layout {
        padding: 0 15px;
        margin: 20px auto;
    }

    .content-section {
        padding: 20px;
    }

    h1 {
        font-size: 2rem !important;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}