/* 極簡樸素學術風格 */
body {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  line-height: 1.6;
  color: #333;
}

/* 頁首 */
header {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-bottom: 15px;
}

h1 {
  font-size: 1.8em;
  font-weight: normal;
  margin-bottom: 8px;
}

h1 small {
  font-size: 0.7em;
  color: #666;
}

.tagline {
  color: #666;
  font-style: italic;
  margin: 10px 0;
}

nav {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

nav a {
  margin-right: 5px;
}

/* 區塊 */
section {
  margin-bottom: 35px;
}

h2 {
  font-size: 1.4em;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.1em;
  font-weight: normal;
  margin-top: 15px;
}

p {
  margin-bottom: 12px;
  text-align: justify;
}

/* 清單 */
ul, ol {
  margin: 12px 0;
}

li {
  margin-bottom: 8px;
}

/* 連結 */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 頁尾 */
footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}

footer p {
  margin: 8px 0;
}

/* 專案卡片並排 */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 15px 0;
}

.card {
  margin: 0;
}

.card h3 {
  font-size: 1.05em;
  margin-top: 0;
}

.card p {
  font-size: 0.95em;
  margin: 8px 0;
  text-align: left;
}

.card ul {
  font-size: 0.9em;
  margin: 8px 0;
  padding-left: 1.2em;
}

.card li {
  margin-bottom: 4px;
}

/* 響應式 */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 1.5em;
  }

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