.lp-nav-link.is-active {
  color: #2f7fb8;
  font-weight: 700;
}

/* —— Blog 主頁（刊物列表，非 landing 分區） —— */
.blog-home {
  background: #f6f9fc;
  padding-bottom: 56px;
}

.blog-home-inner {
  width: min(1180px, calc(100% - 32px));
}

/* —— 主頁 Hero（品牌漸層 + 最新文章卡） —— */
.blog-home-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(78, 168, 222, 0.22);
}

.blog-home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse  min(420px, 55vw) min(280px, 40vw) at 88% 12%, rgba(78, 168, 222, 0.32), transparent 72%),
    radial-gradient(ellipse min(240px, 40vw) min(180px, 30vw) at 8% 92%, rgba(186, 230, 253, 0.5), transparent 68%),
    linear-gradient(152deg, #e9f8ff 0%, #ffffff 48%, #f3faff 100%);
}

.blog-home-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(130, 196, 248, 0.12) 0%,
    transparent 42%,
    rgba(78, 168, 222, 0.08) 100%
  );
}

.blog-home-hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(78, 168, 222, 0.07));
  clip-path: polygon(0 38%, 35% 28%, 68% 34%, 100% 18%, 100% 100%, 0 100%);
}

.blog-home-hero-inner {
  position: relative;
  z-index: 1;
  padding: 28px 0 40px;
}

.blog-home-hero--compact .blog-home-hero-inner {
  padding-bottom: 28px;
}

.blog-home-breadcrumb {
  font-size: 0.88rem;
  color: #5a6b7d;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-home-breadcrumb a {
  color: #1c6bc8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.blog-home-breadcrumb a:hover {
  color: #2d89ef;
  text-decoration: underline;
}

.blog-home-hero-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .blog-home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 36px;
  }

  .blog-home-hero--compact .blog-home-hero-grid {
    grid-template-columns: 1fr;
  }
}

.blog-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1c6bc8;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(78, 168, 222, 0.35);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(45, 137, 239, 0.08);
}

.blog-home-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ea8de, #82c4f8);
  flex-shrink: 0;
}

.blog-home-hero-copy h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  color: #3d4f5f;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-home-hero-accent {
  display: block;
  margin-top: 4px;
  background: linear-gradient(90deg, #1c6bc8, #4ea8de);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .blog-home-hero-accent {
    color: #2d89ef;
  }
}

.blog-home-lead {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5a6b7d;
}

.blog-home-lead strong {
  color: #3d4f5f;
  font-weight: 700;
}

.blog-home-stats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-home-stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 5.5rem;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(78, 168, 222, 0.28);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(45, 137, 239, 0.06);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.blog-home-stats li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(45, 137, 239, 0.1);
}

.blog-home-stats strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #2d89ef;
  line-height: 1.1;
}

.blog-home-stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7c8f;
}

.blog-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-home-hero-actions .lp-btn {
  min-height: 44px;
}

.blog-home-hero-back {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}

.blog-home-hero-card {
  background: #fff;
  border: 1px solid rgba(78, 168, 222, 0.32);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(45, 137, 239, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.blog-home-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(45, 137, 239, 0.16);
}

.blog-home-hero-card-label {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c6bc8;
  background: linear-gradient(180deg, #e9f8ff 0%, #fff 100%);
  border-bottom: 1px solid rgba(78, 168, 222, 0.2);
}

.blog-home-hero-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9f8ff;
}

.blog-home-hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease-in-out;
}

.blog-home-hero-card:hover .blog-home-hero-card-media img {
  transform: scale(1.03);
}

.blog-home-hero-card-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-home-hero-card-body time {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7c8f;
}

.blog-home-hero-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  flex: 1;
}

.blog-home-hero-card-title a {
  color: #3d4f5f;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.blog-home-hero-card-title a:hover {
  color: #1c6bc8;
}

.blog-home-hero-card-cta {
  align-self: flex-start;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c6bc8;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.blog-home-hero-card-cta:hover {
  color: #2d89ef;
  text-decoration: underline;
}

.blog-home-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 992px) {
  .blog-home-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
}

.blog-home-sidebar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 16px;
}

@media (min-width: 992px) {
  .blog-home-sidebar {
    position: sticky;
    top: 76px;
  }
}

.blog-sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 12px;
}

.blog-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .blog-home-sidebar {
    background: transparent;
    border: none;
    padding: 0;
  }

  .blog-sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .blog-sidebar-nav li {
    flex: 0 0 auto;
  }

  .blog-sidebar-note {
    display: none;
  }
}

.blog-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 991px) {
  .blog-sidebar-link {
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
  }
}

.blog-sidebar-link:hover {
  background: #eef7fd;
  color: #2f7fb8;
}

.blog-sidebar-link.is-active {
  background: #eef7fd;
  color: #2f7fb8;
}

.blog-sidebar-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  min-width: 1.5rem;
  text-align: right;
}

.blog-sidebar-link.is-active .blog-sidebar-count {
  color: #2f7fb8;
}

.blog-sidebar-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
}

.blog-feed-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.blog-feed-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #334155;
  margin: 0 0 8px;
}

.blog-feed-head p {
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.6;
  max-width: 36rem;
}

.blog-feed-clear {
  font-weight: 700;
  color: #2f7fb8;
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-feed-clear:hover {
  text-decoration: underline;
}

.blog-feed-empty {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.blog-feed-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .blog-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  border-color: #b8dff5;
  box-shadow: 0 10px 28px rgba(47, 127, 184, 0.1);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef7fd;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.blog-card--spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .blog-card--spotlight {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 280px;
  }

  .blog-card--spotlight .blog-card-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .blog-card--spotlight .blog-card-body {
    padding: 28px 28px 32px;
    justify-content: center;
  }
}

.blog-card--spotlight .blog-card-title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.blog-card--spotlight .blog-card-excerpt {
  font-size: 1.05rem;
  -webkit-line-clamp: 4;
}

.blog-card--feed .blog-card-title {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
}

.blog-card-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2f7fb8;
  text-decoration: none;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef7fd;
  transition: background 0.2s ease;
}

.blog-card-category:hover {
  background: #dbeafe;
  color: #2563eb;
}

.blog-card-excerpt {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title {
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 10px;
}

.blog-card-title a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #2f7fb8;
}

.blog-meta {
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.blog-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef7fd;
  color: #2f7fb8;
  font-weight: 600;
}

.blog-article {
  padding: 32px 0 48px;
}

.blog-article .lp-container {
  max-width: 720px;
}

.blog-cover-wrap {
  margin: 0 0 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(47, 127, 184, 0.1);
  background: #f8fafc;
}

.blog-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.blog-cover-wrap--product {
  background: linear-gradient(135deg, #eef7fd, #fff);
}

.blog-cover-wrap--product .blog-cover {
  object-fit: contain;
  max-height: 360px;
  padding: 12px;
}

.blog-figure {
  margin: 24px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-figure figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  line-height: 1.5;
}

.blog-figure-row {
  display: grid;
  gap: 16px;
  margin: 24px 0 28px;
}

@media (min-width: 576px) {
  .blog-figure-row {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-figure-row .blog-figure {
  margin: 0;
}

.blog-article h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-summary {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 28px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.blog-summary strong {
  color: #0f172a;
}

.blog-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #1e293b;
}

.blog-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: #334155;
}

.blog-article p,
.blog-article li {
  color: #475569;
  line-height: 1.75;
  font-size: 1rem;
}

.blog-article ul,
.blog-article ol {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

.blog-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
}

.blog-faq summary {
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}

.blog-faq p {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: #2f7fb8;
  font-weight: 600;
  text-decoration: none;
}

.blog-back:hover {
  text-decoration: underline;
}

.blog-cta {
  margin-top: 36px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e9f8ff, #fff);
  border: 1px solid #bae6fd;
}

.blog-cta p {
  margin-bottom: 12px;
}

.blog-cta .lp-btn {
  margin-right: 8px;
  margin-bottom: 8px;
}

.blog-scenario-body h2 {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #334155;
}

.blog-scenario-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: #475569;
}

.blog-scenario-body p,
.blog-scenario-body li {
  color: #475569;
  line-height: 1.75;
  font-size: 1rem;
}

.blog-scenario-body ul,
.blog-scenario-body ol {
  margin-bottom: 16px;
  padding-left: 1.25rem;
}

.blog-scenario-body a {
  color: #2f7fb8;
  font-weight: 600;
}
