/* =======================================================================
 *  文章分享 — 樣式（深藍 × 金色 × 米色）
 * ======================================================================= */

.articles-hero { text-align: center; padding: 46px 0 24px; }
.articles-hero .eyebrow {
  color: var(--gold-dark); font-weight: 700; letter-spacing: 3px;
  font-size: .82rem; margin: 0 0 10px; text-transform: uppercase;
}
.articles-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; }
.articles-hero h1::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 3px;
}
.articles-hero .lead { max-width: 620px; margin: 16px auto 0; color: #5b6376; }

.articles { padding: 20px 0 70px; }
.articles .wrap { max-width: 920px; }

/* 文章卡片 */
.article-card {
  display: flex; gap: 26px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.article-img {
  flex-shrink: 0; width: 280px; display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gold-soft);
}
.article-img img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-main { flex: 1; min-width: 0; }

.article-date { color: var(--gold-dark); font-weight: 700; font-size: .82rem; letter-spacing: .5px; }
.article-title {
  font-family: var(--serif); color: var(--ink); font-size: 1.25rem; font-weight: 700;
  margin: 6px 0 12px; line-height: 1.45;
}

/* 內文：預設收合，漸層淡出 */
.article-text { color: #45506a; line-height: 1.95; position: relative; }
.article-text p { margin: 0 0 .9em; }
.article-text p:last-child { margin-bottom: 0; }
.article-text.collapsed {
  max-height: 168px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent);
          mask-image: linear-gradient(180deg, #000 64%, transparent);
}

.article-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.article-toggle {
  background: var(--coral); color: #fff; border: none; border-radius: 999px;
  padding: 8px 18px; font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: .16s;
}
.article-toggle:hover { background: var(--coral-dark); }
.article-fb-link { color: var(--gold-dark); font-weight: 700; font-size: .9rem; }
.article-fb-link:hover { text-decoration: underline; }

.articles-loadbar { text-align: center; margin: 8px 0 6px; }
.articles-count { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.articles-more { text-align: center; color: var(--muted); margin-top: 30px; }

@media (max-width: 720px) {
  .article-card { flex-direction: column; gap: 16px; padding: 20px; }
  .article-img { width: 100%; }
  .article-img img { aspect-ratio: 16 / 10; }
}
