/* ================================
   PFIC Articles — Unified Style
   Author: pfic.xyz
   ================================ */

/* ---- Base ---- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #1a1a1a;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Header ---- */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

header h1 {
  font-size: 1.6em;
  color: #003b75;
  margin: 0;
}

nav a {
  padding: 6px 12px;
  border: 1px solid #c6daff;
  border-radius: 8px;
  background: #eef5ff;
  color: #004b80;
  text-decoration: none;
  margin-right: 8px;
  font-size: 0.95em;
}
nav a:hover {
  background: #dcecff;
}
nav a.active {
  background: #004b80;
  color: #fff;
  border-color: #004b80;
}

/* ---- Headings ---- */
h1, h2, h3 {
  color: #003b75;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
}
h1 { font-size: 1.9em; margin-top: 0; }
h2 { font-size: 1.4em; margin-top: 28px; }

/* ---- Text & Links ---- */
a {
  color: #005fa3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

p, li {
  font-size: 1.02em;
}

/* ---- Quote ---- */
blockquote {
  border-left: 3px solid #c8d9eb;
  background: #fafafa;
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 0.97em;
}

/* ---- Divider ---- */
hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 36px 0;
}

/* ---- Article List ---- */
.article-list { margin-top: 20px; }
.article-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.article-item h2 {
  margin: 0;
  font-size: 1.2em;
  color: #004b80;
}
.article-item p {
  margin: 6px 0 0 0;
  color: #555;
  font-size: 0.95em;
}

/* ---- Footer ---- */
footer {
  margin-top: 40px;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

.taglist a {
  font-size: 0.85em;
  margin-right: 6px;
  color: #336699;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  body { padding: 24px 16px; }
  header { flex-direction: column; align-items: flex-start; }
  nav a { display: inline-block; margin-top: 8px; }
}
