/* 新台租賃｜文章共用樣式（綠色主題）
   全部限定在 .article-wrapper 底下，不影響網站其他區塊。
   請工程師放進網站共用 CSS，整站載入一次即可。 */

.article-wrapper { max-width: 860px; margin: 60px auto; padding: 0 24px; text-align: left; color: #000; font-size: 18px; line-height: 1.8; }
.article-wrapper p { font-size: 18px; margin: 0 0 16px; }
.article-wrapper strong { font-weight: bold; }
.article-wrapper .subtitle { font-size: 16px; color: #555; margin-bottom: 36px; border-left: 4px solid #2E7D32; padding-left: 12px; }

/* 目錄 */
.article-wrapper .toc-box { background: #E8F5E9; border-radius: 8px; padding: 20px 24px; margin-bottom: 40px; }
.article-wrapper .toc-title { font-size: 18px; font-weight: bold; color: #2E7D32; margin-bottom: 14px; }
.article-wrapper .toc-box ul { list-style: none; padding: 0; margin: 0; }
.article-wrapper .toc-box li { margin-bottom: 4px; }
.article-wrapper .toc-box a { display: block; font-size: 18px; color: #2E7D32; text-decoration: none; padding: 10px 14px; border-radius: 6px; border-left: 4px solid transparent; transition: background .25s, padding-left .25s, border-color .25s; }
.article-wrapper .toc-box a:hover { background: #C8E6C9; border-left-color: #2E7D32; padding-left: 20px; color: #1B5E20; }

/* 段落標題 */
.article-wrapper .section-title { font-size: 22px; font-weight: bold; color: #2E7D32; margin: 48px 0 16px; border-left: 5px solid #2E7D32; padding-left: 12px; scroll-margin-top: 130px; }

/* 清單 */
.article-wrapper ul.content-list { list-style: none; padding-left: 20px; margin: 0 0 20px; }
.article-wrapper ul.content-list li { margin-bottom: 10px; font-size: 18px; line-height: 1.8; }

/* 提示框 */
.article-wrapper .info-box,
.article-wrapper .warning-box,
.article-wrapper .danger-box { border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; font-size: 17px; line-height: 1.85; }
.article-wrapper .info-box { background: #E8F5E9; border-left: 4px solid #2E7D32; }
.article-wrapper .warning-box { background: #fff8e1; border-left: 4px solid #f59e0b; }
.article-wrapper .danger-box { background: #fef2f2; border-left: 4px solid #ef4444; }

/* 內部連結引導 */
.article-wrapper .link-guide { background: #f4faf4; border: 1px solid #2E7D32; border-radius: 8px; padding: 14px 18px; margin: 20px 0; font-size: 17px; line-height: 1.8; }
.article-wrapper .link-guide a,
.article-wrapper .internal-link { color: #2E7D32; font-weight: bold; text-decoration: none; }
.article-wrapper .link-guide a:hover,
.article-wrapper .internal-link:hover { text-decoration: underline; }

/* 表格 */
.article-wrapper .tbl-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 8px; box-shadow: 0 2px 8px rgba(46,125,50,.08); }
.article-wrapper table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 420px; }
.article-wrapper thead tr { background: #2E7D32; }
.article-wrapper th { color: #fff; padding: 11px 14px; text-align: left; font-weight: 600; }
.article-wrapper td { padding: 10px 14px; border-bottom: 1px solid #C8E6C9; vertical-align: top; line-height: 1.7; }
.article-wrapper tbody tr:nth-child(even) td { background: #E8F5E9; }

/* 範例框 */
.article-wrapper .example-block { background: #fff; border: 1px solid #C8E6C9; border-radius: 10px; padding: 20px 24px; margin: 20px 0; }
.article-wrapper .ex-title { font-size: 16px; font-weight: bold; color: #2E7D32; margin-bottom: 10px; }
.article-wrapper .example-block p { font-size: 16px; margin-bottom: 8px; }
.article-wrapper .example-block p:last-child { margin-bottom: 0; }

/* 步驟 */
.article-wrapper .step-flow { margin: 20px 0; }
.article-wrapper .step-item { display: flex; gap: 16px; margin-bottom: 18px; align-items: flex-start; }
.article-wrapper .step-num { flex-shrink: 0; width: 36px; height: 36px; background: #2E7D32; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; margin-top: 2px; }
.article-wrapper .step-body { flex: 1; }
.article-wrapper .step-body strong { display: block; font-size: 17px; margin-bottom: 4px; }
.article-wrapper .step-body p { font-size: 16px; color: #333; margin-bottom: 0; }

/* 信函範本 */
.article-wrapper .letter-template { background: #FAFAFA; border: 1px solid #BDBDBD; border-radius: 8px; padding: 24px 28px; margin: 20px 0; font-size: 16px; line-height: 2; white-space: pre-wrap; }

/* 數字卡 */
.article-wrapper .stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 28px; }
.article-wrapper .stat-card { flex: 1 1 180px; background: #E8F5E9; border-radius: 8px; padding: 16px 18px; text-align: center; }
.article-wrapper .stat-num { display: block; font-size: 26px; font-weight: bold; color: #2E7D32; line-height: 1.3; }
.article-wrapper .stat-label { display: block; font-size: 15px; color: #555; margin-top: 4px; }

/* 情境卡 */
.article-wrapper .scenario { border: 1px solid #C8E6C9; border-left: 5px solid #2E7D32; border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; background: #fff; }
.article-wrapper .scenario.hot { background: #E8F5E9; }
.article-wrapper .scenario-title { display: block; font-size: 19px; font-weight: bold; color: #2E7D32; margin-bottom: 6px; }
.article-wrapper .scenario-tag { display: inline-block; font-size: 14px; font-weight: bold; color: #2E7D32; border: 1px solid #2E7D32; border-radius: 12px; padding: 0 10px; margin-left: 8px; background: #fff; }
.article-wrapper .scenario-text { display: block; font-size: 17px; line-height: 1.8; margin-bottom: 4px; }

/* 步驟（另一種寫法：step-list / step-no） */
.article-wrapper .step-list { margin: 16px 0 24px; }
.article-wrapper .step-list .step-item { background: #E8F5E9; border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; gap: 14px; }
.article-wrapper .step-no { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #2E7D32; color: #fff; font-size: 18px; font-weight: bold; line-height: 34px; text-align: center; }
.article-wrapper .step-title { display: block; font-size: 18px; font-weight: bold; color: #2E7D32; }
.article-wrapper .step-text { display: block; font-size: 17px; line-height: 1.7; }

/* 左右比較 */
.article-wrapper .compare-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 24px; }
.article-wrapper .compare-col { flex: 1 1 280px; border: 1px solid #C8E6C9; border-radius: 8px; overflow: hidden; background: #fff; }
.article-wrapper .compare-head { display: block; background: #2E7D32; color: #fff; font-size: 18px; font-weight: bold; padding: 10px 16px; }
.article-wrapper .compare-col.alt .compare-head { background: #E8F5E9; color: #2E7D32; }
.article-wrapper .compare-body { display: block; padding: 12px 16px; font-size: 17px; line-height: 1.9; }

/* 頁尾、註解 */
.article-wrapper .footer-block { margin-top: 60px; padding-top: 30px; border-top: 2px solid #C8E6C9; }
.article-wrapper .note-text { font-size: 15px; color: #555; margin-top: 8px; line-height: 1.6; }

@media (max-width: 640px) {
  .article-wrapper { margin: 32px auto; padding: 0 16px; font-size: 16px; }
  .article-wrapper .section-title { font-size: 19px; }
  .article-wrapper .toc-box a { font-size: 16px; }
  .article-wrapper .step-num { width: 30px; height: 30px; font-size: 14px; }
  .article-wrapper .example-block { padding: 16px; }
  .article-wrapper .letter-template { padding: 16px 18px; font-size: 15px; }
  .article-wrapper .stat-num { font-size: 22px; }
  .article-wrapper .scenario-title,
  .article-wrapper .step-title,
  .article-wrapper .compare-head { font-size: 17px; }
}
