.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px 0;
}

/* ─── Placeholders ─── */
.img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-box span {
  font-size: 18px;
  color: #999;
}
.img-box.hero-bg {
  background: #c0c0c0;
}
.img-box.hero-bg span {
  color: rgba(0, 0, 0, 0.3);
}
.finance-bg {
  background: #c4c4c4;
}
.globe-bg {
  background: #bebebe;
}
.back-bg {
  background: #c8c8c8;
}
.dark-bg {
  background: #adadad;
}
.light-bg {
  background: #d4d4d4;
}
.cover-bg {
  background: #c0c0c0;
}
/* 佔位圖：封面主視覺統一 4:3（下述父層已自定比例者除外） */
.img-box.cover-bg {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.feat-big .feat-img .img-box.cover-bg,
.body-grid--list-feat .feat-big .feat-img .img-box.cover-bg,
.feat-img-mob .img-box.cover-bg,
.result-img .img-box.cover-bg {
  aspect-ratio: unset;
  height: 100%;
  min-height: 100%;
}
.mag-cta .cover-thumb .img-box.cover-bg {
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.ph-a,
.ph-b,
.ph-c,
.ph-d {
  background: #c0c0c0;
}
.ph-e {
  background: #b0b8c8;
}
.ph-bi1,
.ph-hero2,
.ph-card2,
.ph-av1 {
  background: #c0c0c0;
}
.ph-dark {
  background: #b0b0b0;
}

/* ─── SECTION HEADER ─── */
.sec-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.sec-hd h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a4a4a;
}
.sec-more {
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.06em;
}
.sec-more:hover {
  color: #972018;
  text-decoration: underline;
}

/* ─── TEXT LIST ─── */
.text-list {
  list-style: none;
}
.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tl-item:first-child {
  padding-top: 0;
}
.tl-item:last-child {
  border-bottom: none;
}
.tl-item:hover .tl-title {
  color: var(--red);
}
.tl-thumb {
  width: 90px;
  height: 64px;
  border-radius: 2px;
  overflow: hidden;
}
.tl-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
}
.tl-cat {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tl-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.tl-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tl-meta .sep {
  color: #ccc;
  font-size: 0.9em;
}

/* ─── SIDEBAR ─── */
.sidebar {
  position: sticky;
  top: 120px;
}
.sb-block {
  margin-bottom: 28px;
}
.sb-block:first-child {
  margin-top: 24px;
}
.sb-block .sec-hd {
  padding-bottom: 4px;
  padding-left: 26px;
}
.sb-block .sb-hd {
  padding-left: 26px;
}
.sb-block .sidebar-tags {
  padding-left: 26px;
}
.sb-block .tag-cloud {
  padding-left: 26px;
}
.sb-block .pop-list {
  margin-top: 6px;
}
.pop-list {
  list-style: none;
}
.pop-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pop-item:last-child {
  border-bottom: none;
}
.pop-item:hover .pop-title {
  color: #972018;
}
.pop-num {
  font-size: 15px;
  font-weight: 400;
  color: #999;
  min-width: 16px;
  line-height: 1.45;
  flex-shrink: 0;
}
.pop-cat {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  color: var(--earth-yellow-dark);
}
.li-cat.c-cover,
.li-cat.c-finance,
.li-cat.c-globe {
  color: var(--earth-yellow-dark) !important;
}
.pop-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

/* ─── FOOTER ─── */
.related-sec ~ .site-footer {
  margin-top: 0;
}

/* ─── CATEGORY COLORS & UTILITIES ─── */
.c-cover {
  color: var(--c-cover);
}
.cat-tag.c-cover {
  color: var(--earth-yellow-dark) !important;
}
.cat-tag.c-finance {
  color: var(--earth-yellow-dark) !important;
}
.cat-tag.c-globe {
  color: var(--earth-yellow-dark) !important;
}
.cat-tag.c-expert {
  color: var(--earth-yellow-dark) !important;
}
.cat-tag.c-backpack {
  color: var(--earth-yellow-dark) !important;
}
.c-finance {
  color: var(--c-finance);
  letter-spacing: 0.05em;
}
.c-globe {
  color: var(--c-globe);
  letter-spacing: 0.05em;
}
.c-backpack {
  color: var(--c-backpack);
  letter-spacing: 0.05em;
}
.c-bilingual {
  color: var(--c-bilingual);
}
.c-expert {
  color: var(--c-expert);
  letter-spacing: 0.05em;
}
.c-trend {
  color: var(--c-trend);
  letter-spacing: 0.05em;
}
.cat-tag.c-cover {
  margin-bottom: 0;
}
.cat-tag.c-globe {
  margin-bottom: 0;
}
.dot-cover {
  background: var(--c-cover);
}
.dot-finance {
  background: var(--c-finance);
}
.dot-globe {
  background: var(--c-globe);
}
.dot-backpack {
  background: var(--c-backpack);
}
.dot-bilingual {
  background: var(--c-bilingual);
}
.dot-expert {
  background: var(--c-expert);
}
.dot-trend {
  background: var(--c-trend);
}
.cat-dot.dot-trend,
.cat-pill-dot.dot-trend {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mt16 {
  margin-top: 16px;
}
.mt24 {
  margin-top: 24px;
}
.sec-hd.mt24 {
  border-bottom-color: var(--navy);
}
.mt32 {
  margin-top: 32px;
}

.load-more {
  text-align: center;
  padding: 32px 0 48px;
}
.load-more button {
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  padding: 12px 48px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    filter 0.2s;
  font-family: inherit;
}
.load-more button:hover {
  filter: brightness(1.08);
  color: #fff;
}
.sb-hd {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--navy);
}
.sb-block:has(.sb-about) .sb-hd,
.sb-block:has(.about-wrap) .sb-hd {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--muted);
  background: #fff;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.tag:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.mag-cta {
  --mag-thumb-width: 160px;
  background: #f2ebe4;
  color: var(--text);
  padding: 24px 18px;
  border-radius: 2px;
  text-align: center;
}
.mag-cta-issue {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.mag-cta-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text);
}
.mag-cta .cover-thumb {
  aspect-ratio: 160/213;
  width: var(--mag-thumb-width);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}
.mag-cta-btn {
  display: block;
  width: var(--mag-thumb-width);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: var(--red);
  color: #fff;
  padding: 7px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
}
.mag-cta-btn:hover {
  background: #b8885e;
}
.mobile-sections {
  display: none;
}

.pop-num {
  font-size: 16px;
  font-weight: 500;
  color: #999;
  min-width: 20px;
  line-height: 1.3;
  flex-shrink: 0;
}
.pop-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}
.pop-title:hover {
  color: #555;
}
.art-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
/* 列表頁桌面：圖在上、標題／摘要在下（固定 16:9 圖區，不再與文字等高並排） */
.art-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.art-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}
.art-img {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.art-img .img-box:not(.cover-bg) {
  width: 100%;
  height: 100%;
  min-height: unset;
}
.art-img .img-box.cover-bg {
  width: 100%;
  height: 100%;
  min-height: unset;
}
.art-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 16px 16px;
  background: var(--bg);
  align-items: stretch;
}
.art-body > :first-child {
  margin-top: 0;
}
/* 列表頁：與 .pt-list 淺白底、與 .cat-col 外框線一致（pt-item 內為 #f0f0f0 分隔） */
body.cat-cover .art-item {
  background: #fcfbfa;
  border: 1px solid var(--border);
}
body.cat-cover .art-body {
  background: transparent;
}
.art-cat-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--earth-yellow-dark);
}
.art-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.art-item:hover .art-title {
  color: #972018;
}
.art-excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.art-read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  color: var(--muted);
  margin-left: 10px;
}
.art-read-time svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE: Tablet (769–1200px) | Mobile (≤768px)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 769px) and (max-width: 1200px) {
  .wrap {
    padding: 28px 24px 0;
  }
  .sidebar {
    display: none;
  }
}
@media (max-width: 768px) {
  .wrap {
    padding: 32px 16px 0px;
  }

  /* Text list */
  .text-list {
    padding: 4px 16px 0;
  }
  .tl-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px 0;
  }
  .tl-item:first-child {
    padding-top: 12px;
  }
  .tl-thumb {
    width: 80px;
    height: 58px;
  }
  .tl-title {
    font-size: 16px;
  }
  .tl-meta {
    font-size: 14px;
  }

  /* Sidebar → hidden */
  .sidebar {
    display: none;
  }

  .load-more {
    padding: 36px 0 40px;
    text-align: left;
  }
  .load-more button {
    width: 100%;
    padding: 12px;
  }
  .mobile-sections {
    display: block;
    padding-bottom: 0;
  }

  body.cat-cover main > .sec-hd {
    padding-top: 4px;
    padding-bottom: 14px;
    margin-bottom: 4px;
  }
  body.cat-cover .mobile-sections {
    margin-top: 8px;
    padding-top: 28px;
  }
  body.cat-cover .mob-sec-hd {
    padding: 28px 16px 14px;
  }
  body.cat-cover .h-scroll {
    padding: 20px 0 22px;
  }

  .art-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }
  /* 手機：列表圖上、文下（與桌機卡片結構一致） */
  .art-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .art-img {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  .art-body {
    padding: 14px 16px 16px;
  }
  .art-cat-tag {
    font-size: 15px;
  }
  .art-meta {
    font-size: 14px;
  }
  .feat-big .feat-meta {
    font-size: 14px;
  }
  .art-excerpt {
    display: none;
  }
  .h-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 14px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .h-scroll::-webkit-scrollbar {
    display: none;
  }
  /* 較大卡片；寬度略小於捲動區，右側露出下一張邊緣以暗示可滑動 */
  .h-card {
    flex-shrink: 0;
    width: min(272px, calc(100% - 40px));
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
  }
  .h-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
  }
  .h-card-img > .img-box > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .h-card-body {
    padding: 10px 12px 12px;
  }
  .h-card-cat {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    color: var(--earth-yellow-dark);
  }
  .h-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .h-card-date {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
  }
  .mob-pop-list {
    list-style: none;
    padding: 0 16px;
  }
  .mob-pop-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
  }
  .mob-pop-item:last-child {
    border-bottom: none;
  }
  .mob-pop-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    min-width: 22px;
    line-height: 1.45;
    flex-shrink: 0;
    align-self: flex-start;
  }
  .mob-pop-cat {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    line-height: 1.45;
    color: var(--earth-yellow-dark);
  }
  .mob-pop-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
  }
  .rec-box {
    margin: 16px;
    padding: 20px;
    background: rgba(26, 26, 46, 0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
  }
  .rec-head {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .rec-head span {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 6px;
  }
  .rec-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .rec-item:last-child {
    border-bottom: none;
  }
  .rec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cat);
    margin-top: 8px;
    flex-shrink: 0;
  }
  .rec-body {
    flex: 1;
  }
  .rec-item-title {
    font-size: 16px;
    line-height: 1.5;
    color: var(--navy);
    margin-bottom: 3px;
  }
  .rec-item-meta {
    font-size: 14px;
    color: var(--muted);
  }
  .rec-more {
    display: block;
    text-align: right;
    font-size: 16px;
    color: var(--red);
    font-weight: 700;
    margin-top: 12px;
  }
  body.cat-cover .mobile-sections .about-wrap {
    margin: 24px 16px 0;
  }
  .feat-big .feat-img {
    width: 340px !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
  }
  .feat-top {
    gap: 28px;
  }

  .mobile-sections .sec-hd {
    padding: 16px 16px 4px;
  }
  .mobile-sections .pop-list {
    padding: 4px 16px 0;
  }
  .mobile-sections .pop-item {
    border-bottom-color: var(--border);
    padding: 8px 0;
  }
  .mobile-sections .pop-num {
    font-size: 18px;
    min-width: 22px;
  }
  .mobile-sections .pop-title {
    font-size: 16px;
  }
  .mobile-sections .sidebar-tags {
    padding: 12px 16px 28px;
    margin-top: 0;
  }
  .mob-sec-hd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 24px 16px 10px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-sections .mob-sec-hd {
    padding-left: 0;
    padding-right: 0;
  }
  .mob-sec-hd h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4a4a4a;
  }
  .mob-sec-more {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
    text-align: right;
  }
}
