/* Shared detail-page template extracted from news/2024_10_28_cross_strait_telemedicine_platform_launch/index.html. */
:root {
  --font-sans: "Avenir Next", "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --maxw: 1100px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
  color: var(--text);
  line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
}
.container {
  width: min(var(--maxw), calc(100% - 28px));
  margin: 0 auto;
}
.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-title {
  display: block;
  font-weight: 760;
  font-size: .95rem;
  line-height: 1.24;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.back-link {
  font-size: .9rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}
.lang-switch { display:inline-flex; gap:8px; flex-wrap:wrap; border:1px solid var(--line); background:#fff; border-radius:999px; padding:4px; }
.lang-btn { border:0; background:transparent; color:var(--muted); border-radius:999px; padding:7px 10px; font-size:.8rem; font-weight:700; cursor:pointer; min-width:40px; white-space:nowrap; }
.lang-btn.active { background:#0f172a; color:#fff; }
.hero { padding: 28px 0 12px; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}
.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #f0f7ff;
  color: #1e3a8a;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
h1 {
  margin: 12px 0 10px;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.meta {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 16px;
}
.summary {
  margin: 0;
  color: #334155;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1.02rem;
}
.summary-image {
  width: min(100%, 760px);
  display: block;
  margin: 16px auto 0;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  object-fit: cover;
}
.article-wrap { padding: 12px 0 42px; }
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: clamp(18px, 3vw, 30px);
}
.article-card p {
  margin: 0 0 16px;
  color: #1e293b;
  font-size: 1.03rem;
}
.article-image {
  width: min(100%, 860px);
  display: block;
  margin: 8px auto 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  object-fit: cover;
}
@media (max-width: 720px) {
  .brand-title { display: none; }
  .header-inner { height: 62px; }
  .summary, .article-card p { font-size: .97rem; }
}

