/* Jeffrey Bleich Knowledge Module - Stylesheet v1.0 */
/* Echo Angel Governance: v1.8.2 */

:root {
    --primary-blue: #2c5aa0;
    --dark-blue: #1a365d;
    --light-blue: #4299e1;
    --bg-light: #f7fafc;
    --bg-gray: #f0f4f8;
    --text-primary: #2d3748;
    --text-secondary: #666;
    --border-light: #e2e8f0;
    --accent-green: #48bb78;
    --accent-orange: #ed8936;
    --accent-purple: #667eea;
    --accent-red: #e53e3e;
    --accent-teal: #38b2ac;
    --warning-bg: #fff7ed;
    --warning-border: #fed7aa;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-title .subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: normal;
}

.header-meta {
    font-size: 0.85rem;
    opacity: 0.75;
}

/* Navigation */
.nav-main {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0 2rem;
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-main a {
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.nav-main a:hover {
    color: var(--primary-blue);
    background: var(--bg-light);
}

.nav-main a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Current Position Card */
.current-position {
    margin-bottom: 2.5rem;
}

.current-position h2 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.position-card {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.position-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.position-dates {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Navigation Cards */
.nav-cards h2 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.nav-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.nav-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transform: translateY(-2px);
}

.nav-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.nav-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-cta {
    color: var(--light-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Quick Facts */
.quick-facts {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.quick-facts h2 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.fact-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.fact-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fact-value {
    font-weight: 500;
    color: var(--text-primary);
}

/* Article Sections */
.article-section {
    margin-bottom: 2.5rem;
}

.article-section h2 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.article-category {
    margin: 1.5rem 0;
}

.article-category h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.article-item {
    background: white;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 6px 6px 0;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.article-item h4 {
    margin-bottom: 0.5rem;
}

.article-item h4 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.article-item h4 a:hover {
    text-decoration: underline;
}

.article-source {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.article-summary {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* Warehouse References */
.warehouse-ref {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.75rem;
    color: #888;
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

table tr {
    border-bottom: 1px solid var(--border-light);
}

table td {
    padding: 0.75rem 0;
    vertical-align: top;
}

table td:first-child {
    width: 140px;
    color: var(--text-secondary);
}

/* Lists */
.article-category ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.article-category ol {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 2;
}

/* Touchpoints Cards */
.touchpoint-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.touchpoint-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.touchpoint-card ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Warning/Sensitivity Box */
.sensitivity-box {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 6px;
    padding: 1rem;
}

.sensitivity-box h4 {
    color: #c05621;
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--dark-blue);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section strong {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-blue);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-main {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-main a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}