/* UI Style 0, Layout E */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; background: #f5f5f5; color: #333; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
nav { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; align-items: center; padding: 0; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; width: 100%; }
nav li { flex: 1 1 0; min-width: 0; text-align: center; }
nav a { display: block; padding: 15px 5px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; text-decoration: none; }
nav a:hover { background: #f0f0f0; text-decoration: none; }
@media (max-width: 768px) {
  nav a { font-size: 12px; padding: 12px 3px; }
}
main { padding: 20px; }
h1, h2, h3 { margin: 0 0 15px 0; }
p { margin: 10px 0; }
section { margin-bottom: 30px; }
footer { text-align: center; padding: 30px 20px; color: #666; font-size: 14px; background: #fff; margin-top: 40px; }
