:root {
    --primary: #4b92db;       /* Titans Accent Light Blue */
    --primary-dark: #0c2340;  /* Titans Deep Navy Blue */
    --bg-body: #e6f0fa;       /* Soft Ice Blue Background */
    --card-bg: #ffffff;
    --text-main: #0f172a;     /* Slate Text */
    --text-muted: #475569;    /* Muted Text */
    --border-color: #cbd5e1;
    --hero-bg: #dbeafe;       /* Light Blue Container */
    --warning-border: #f59e0b;
    --warning-bg: #fffbeb;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: var(--text-main); 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
    background: var(--bg-body); 
}

header { 
    border-bottom: 3px solid var(--primary); 
    padding-bottom: 15px; 
    margin-bottom: 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 1.4em; 
    font-weight: 800; 
    color: var(--primary-dark); 
    text-decoration: none; 
    letter-spacing: -0.5px;
}

nav a { 
    margin-left: 15px; 
    color: var(--primary-dark); 
    text-decoration: none; 
    font-weight: 600; 
}

nav a:hover {
    color: var(--primary);
}

.hero { 
    background: var(--hero-bg); 
    padding: 25px; 
    border-radius: 8px; 
    margin-bottom: 30px; 
    border-left: 5px solid var(--primary-dark); 
    box-shadow: 0 2px 8px rgba(12, 35, 64, 0.05);
}

.hero h1 { 
    margin-top: 0; 
    font-size: 1.8em; 
    color: var(--primary-dark); 
}

h1 { color: var(--primary-dark); font-size: 2em; margin-bottom: 5px; }
h2 { color: var(--primary-dark); margin-top: 35px; border-bottom: 2px solid var(--border-color); padding-bottom: 5px; }
h3 { color: #1e293b; margin-top: 25px; }

.author { font-style: italic; color: var(--text-muted); margin-bottom: 25px; }

.article-card { 
    background: var(--card-bg); 
    padding: 22px; 
    border-radius: 8px; 
    border: 1px solid var(--border-color); 
    margin-bottom: 20px; 
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.04); 
}

.article-card h2 { 
    margin-top: 0; 
    font-size: 1.3em; 
}

.article-card h2 a { 
    color: var(--primary-dark); 
    text-decoration: none; 
}

.article-card h2 a:hover { 
    text-decoration: underline; 
    color: var(--primary);
}

.meta { 
    font-size: 0.85em; 
    color: var(--text-muted); 
    margin-bottom: 10px; 
    font-weight: 600;
}

img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(12,35,64,0.08); 
    margin: 20px auto; 
    display: block; 
}

pre { 
    background: #0c2340; 
    color: #7dd3fc; 
    padding: 18px; 
    border-radius: 8px; 
    overflow-x: auto; 
    font-family: monospace; 
    font-size: 0.9em; 
    border: 1px solid var(--border-color); 
}

code { 
    background: #dbeafe; 
    color: #0c2340; 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-family: monospace; 
    font-size: 0.9em; 
    font-weight: 600; 
}

ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }

.caption { 
    text-align: center; 
    font-size: 0.85em; 
    color: var(--text-muted); 
    margin-top: -10px; 
    margin-bottom: 25px; 
}

.warning-box {
    background-color: var(--warning-bg);
    border-left: 5px solid var(--warning-border);
    padding: 18px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #fde68a;
}

.warning-box h3 { margin-top: 0; color: #b45309; }

footer { 
    margin-top: 50px; 
    border-top: 1px solid var(--border-color); 
    padding-top: 20px; 
    font-size: 0.85em; 
    color: var(--text-muted); 
    text-align: center; 
}