/* Modern 2025 Design - Clean & Minimal */

:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent-color: #f97316;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

.nowrap {
    white-space: nowrap;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    min-height: 100vh;
}

#wiki-body {
    padding: 2rem;
}

.content_text {
    padding: 3rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    clear: both;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

emph {
    color: var(--accent-color);
    font-weight: 600;
}

.about {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.about a {
    color: white;
    font-weight: 500;
}

.about a:hover {
    color: #fbbf24;
}

ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Keep social icons square */
img[width="16"] {
    border-radius: 0;
}

/* Profile image styling */
.content_text img[src*="atvancouver.jpg"] {
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-right: 2rem;
    margin-bottom: 1rem;
}

/* Social icons */
img[width="16"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
    border-radius: 0;
}

/* Expandable sections */
#DCpapers, #JPat {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content_text {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .content_text {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .about {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .content_text img[src*="atvancouver.jpg"] {
        float: none !important;
        display: block;
        margin: 0 auto 1rem auto;
        width: 160px;
        height: 185px;
    }
}

@media (max-width: 480px) {
    .content_text {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    ul {
        padding-left: 1rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .content {
        box-shadow: none;
        max-width: none;
    }
    
    a {
        color: black;
        border-bottom: none;
    }
    
    .about {
        background: #f3f4f6;
        color: black;
        box-shadow: none;
    }
}
