/* 文章列表頁 v2（2026-10-24）：大類、中類、特輯、特輯總覽、選購指南、品牌共用 list.blade.php。
   2026-10-25 照 b4 稽核把數值改回原型 02-UI雛形/mag-v1.css（.lh、.crumb、.sh、.chips、.lead2、.g3、.ac、.badge、.read-o），全部限定在 .l2 底下 */
.l2 { --cream: #faf8f3; }
.l2 .lh { margin-top: 28px; }
.l2 .lh.wi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.l2 .lh-im { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.l2 .lh-im img { width: 100%; height: 100%; object-fit: cover; }
.l2 .lh-tx { max-width: 640px; }
.l2 .crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-3); margin: 0 0 14px; padding: 0; }
.l2 .crumb span::before { content: "›"; margin-right: 6px; }
.l2 .crumb a { color: var(--ink-3); }
.l2 .crumb a:hover { color: var(--brand-700); }
.l2 .lh .tag { display: inline-block; background: #dcefff; color: #0b3d63; font-weight: 900; font-size: 13px; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.l2 .lh h1 { font-size: 40px; font-weight: 900; margin: 0 0 16px; line-height: 1.4; }
.l2 .lh p { margin: 0 0 12px; font-size: 17.5px; line-height: 1.95; color: var(--ink-2); }
.l2 .lh p a { color: var(--brand-700); font-weight: 700; }
.l2 .lh .by { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

.l2 .sec { margin-top: 76px; }
.l2 .sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.l2 .sh h2 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: .02em; line-height: 1.4; }
.l2 .sh p { margin: 4px 0 0; font-size: 15px; color: var(--ink-3); }
.l2 .sh > a { font-size: 15px; font-weight: 700; color: var(--brand-700); white-space: nowrap; }

.l2 .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.l2 .chips button, .l2 .chips a, .l2 .chips span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 15px; font: inherit; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); cursor: pointer; }
.l2 .chips .on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.l2 .chips .off:not(.on) { color: #a6afb8; border-style: dashed; }
.l2 .chips span.off { cursor: default; }
.l2 .chips a:hover:not(.on), .l2 .chips button:hover:not(.on) { color: var(--brand-700); border-color: var(--brand-100); }

/* 文章卡（原型 .ac） */
.l2 .ac { display: flex; flex-direction: column; gap: 10px; color: inherit; }
.l2 .ac:hover { color: inherit; }
.l2 .ac[hidden] { display: none; }
.l2 .ac .im { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--panel); }
.l2 .ac .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.l2 .ac:hover .im img { transform: scale(1.03); }
.l2 .ac .kk { font-size: 13px; font-weight: 700; color: var(--brand-700); letter-spacing: .03em; }
.l2 .ac .kk span { color: var(--ink-3); font-weight: 500; }
.l2 .ac h3 { margin: 4px 0 0; font-size: 19px; font-weight: 700; line-height: 1.5; }
.l2 .ac:hover h3 { color: #064c3a; }
.l2 .ac p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l2 .ac .mt { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.l2 .ac.lg h3 { font-size: 28px; line-height: 1.4; }
.l2 .ac.lg p { font-size: 16.5px; -webkit-line-clamp: 3; }
.l2 .ac.soon { cursor: default; }
.l2 .ac.soon .im img { opacity: .6; filter: grayscale(.35); }
.l2 .ac.soon:hover .im img { transform: none; }
.l2 .ac.soon h3 { color: var(--ink-3); }
.l2 .badge { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.l2 .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.l2 .g3[hidden], .l2 .empty[hidden], .l2 .l2-all[hidden], .l2 .l2-res[hidden], .l2 .l2-flt { display: none; }
.l2 .lead2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
.l2 .lead2.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.l2 .lead2 .l2s { display: grid; gap: 28px; align-content: start; }
.l2 .lead2 .l2s .ac .im { aspect-ratio: 16 / 9; }
.l2 .l2-more { margin-top: 44px; }
.l2 .empty { color: var(--ink-3); }

/* 特輯：照順序讀（原型 .read-o） */
.l2 .read-o { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l2 .read-o a { display: grid; grid-template-columns: 48px 240px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: inherit; }
.l2 .read-o .no { font-size: 36px; font-weight: 900; color: var(--brand); line-height: 1; }
.l2 .read-o .im { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--panel); }
.l2 .read-o .im img { width: 100%; height: 100%; object-fit: cover; }
.l2 .read-o .kk { display: block; font-size: 13px; font-weight: 700; color: var(--brand-700); }
.l2 .read-o b { display: block; font-size: 21px; font-weight: 900; margin: 4px 0 6px; line-height: 1.45; }
.l2 .read-o a:hover b { color: #064c3a; }
.l2 .read-o .d { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }

@media (max-width: 1080px) {
  .l2 .lh.wi, .l2 .lead2 { grid-template-columns: 1fr; gap: 28px; }
  .l2 .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .l2 .lh { margin-top: 16px; } .l2 .lh h1 { font-size: 28px; } .l2 .lh p { font-size: 15.5px; }
  .l2 .lh-im { border-radius: 14px; aspect-ratio: 16 / 10; }
  .l2 .sec { margin-top: 56px; }
  .l2 .sh h2 { font-size: 22px; } .l2 .sh p { font-size: 13.5px; }
  .l2 .g3 { grid-template-columns: 1fr; gap: 28px; }
  .l2 .ac h3 { font-size: 18px; } .l2 .ac.lg h3 { font-size: 23px; } .l2 .ac.lg p { font-size: 15px; }
  .l2 .read-o a { grid-template-columns: 30px 104px minmax(0, 1fr); gap: 12px; padding: 14px 0; align-items: start; }
  .l2 .read-o .no { font-size: 24px; } .l2 .read-o b { font-size: 16px; } .l2 .read-o .d { display: none; }
  .l2 .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter); scrollbar-width: none; }
  .l2 .chips::-webkit-scrollbar { display: none; }
  .l2 .chips button, .l2 .chips a, .l2 .chips span { white-space: nowrap; }
}
/* 更新紀錄 /updates/：依日期分組，每一筆跟首頁「最近改了什麼」同一套（標籤顏色照原型 home-v3.css 的 .tg） */
.l2 .upd-day { margin-bottom: 28px; }
.l2 .upd-day[hidden], .l2 .upd-day li[hidden] { display: none; }
.l2 .upd-day h3 { margin: 0 0 4px; font-size: 15px; font-weight: 900; color: var(--ink-2); }
.l2 .upd-day ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.l2 .upd-day li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.l2 .upd-day li b { display: block; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.l2 .upd-day li a:hover b { color: #064c3a; }
.l2 .upd-day li span:not(.tg) { font-size: 13px; color: var(--ink-3); }
.l2 .upd-day time { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.l2 .tg { font-size: 12px; font-weight: 800; border-radius: 6px; padding: 3px 0; text-align: center; }
.l2 .tg.down { background: #fdeeed; color: #d6453d; }
.l2 .tg.add { background: var(--brand-50); color: var(--brand-700); }
.l2 .tg.fix { background: #fff4d6; color: #8a6200; }
.l2 .tg.oos { background: var(--panel); color: var(--ink-2); }
.l2 .tg.data { background: #e8f1fb; color: #1d5fa8; }
.l2 .upd-pg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 28px; font-size: 14.5px; }
.l2 .upd-pg a, .l2 .upd-pg b { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.l2 .upd-pg b { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 720px) { .l2 .upd-day li { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; } .l2 .upd-day time { grid-column: 2; margin-top: -6px; } }
