* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", sans-serif;
  background: #f7f7f7;
  color: #1a1a1a;
  line-height: 1.75;
}
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  color: #0078d7;
  text-decoration: none;
  margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }

.article-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0078d7;
  margin-bottom: 10px;
}
h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}
.article-sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}
h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 44px 0 12px;
  color: #111;
}
h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: #333;
}
p { margin: 0 0 16px; font-size: 15px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { font-size: 15px; margin-bottom: 6px; }

/* ── callout 框 ── */
.callout {
  background: #eef6ff;
  border-left: 4px solid #0078d7;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 14px;
  color: #1a3a5c;
}
.callout strong { display: block; margin-bottom: 4px; }

.warning-callout {
  background: #fff8e6;
  border-left: 4px solid #f5a623;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 14px;
  color: #5a3e00;
}
.warning-callout strong { display: block; margin-bottom: 4px; }

.success-callout {
  background: #edfbf3;
  border-left: 4px solid #27ae60;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 14px;
  color: #1a4a2e;
}
.success-callout strong { display: block; margin-bottom: 4px; }

/* ── 步驟區塊 ── */
.step-block {
  display: flex;
  gap: 16px;
  margin: 16px 0;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #0078d7;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-content { flex: 1; }
.step-content strong { display: block; font-size: 14px; margin-bottom: 2px; }
.step-content span { font-size: 13px; color: #555; }

/* ── 表格 ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
}
th {
  background: #f0f0f0;
  text-align: left;
  padding: 8px 12px;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
}
td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }

/* ── Q&A ── */
.qa-block { margin: 20px 0; }
.qa-q {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}
.qa-q::before { content: "Q："; color: #0078d7; }
.qa-a {
  font-size: 14px;
  color: #555;
  padding-left: 24px;
}
.qa-a::before { content: "A："; font-weight: 600; color: #333; }

/* ── 圖片 ── */
.article-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin: 20px 0 8px;
  display: block;
}
.article-img-caption {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-bottom: 20px;
}
.img-placeholder {
  width: 100%;
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #aaa;
  margin: 20px 0 8px;
  min-height: 200px;
}

/* ── SVG 圖表容器 ── */
.svg-wrap {
  margin: 24px 0;
  text-align: center;
}
.svg-wrap svg {
  max-width: 100%;
  height: auto;
}

/* ── 比較欄位 ── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.compare-col {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}
.compare-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}
.compare-col ul {
  margin: 0;
  padding-left: 18px;
}
.compare-col li { font-size: 13px; color: #555; }

/* ── 底部導覽 ── */
.bottom-nav {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.bottom-nav a { color: #0078d7; text-decoration: none; }
.bottom-nav a:hover { text-decoration: underline; }
