.jb-home-posts {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0;
  background: #fcf9ef;
  color: #303d3d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
}
.jb-home-posts,
.jb-home-posts * { box-sizing: border-box; }
.jb-home-posts::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.58), rgba(255,255,255,.58)),
    url("https://janusbio.cdmi.tw/wp-content/uploads/2026/09/exec-6cd4ac29-1675-405c-92b3-23ed9eae3ae6.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  pointer-events: none;
}
.jb-home-posts .jb-wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.jb-home-posts a { color: inherit; text-decoration: none; }
.jb-home-posts a:focus-visible { outline: 3px solid #ae5400; outline-offset: 3px; }
.jb-home-posts .jb-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: 38px;
}
.jb-home-posts .jb-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 13px;
  color: #617749; font-size: 12px; font-weight: 700; letter-spacing: .16em;
}
.jb-home-posts .jb-label::before {
  content: ""; width: 28px; height: 3px; background: #ed8300; border-radius: 3px;
}
.jb-home-posts .jb-title {
  margin: 0; padding: 0; color: #303d3d;
  font-size: clamp(28px, 3vw, 40px); font-weight: 650;
  line-height: 1.35; letter-spacing: .025em;
}
.jb-home-posts .jb-link {
  display: inline-flex; align-items: center; gap: 13px;
  color: #ae5400; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.jb-home-posts .jb-link span { transition: transform .2s ease; }
.jb-home-posts .jb-link:hover span { transform: translate(3px, -3px); }
.jb-home-posts .jb-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 26px;
}
.jb-home-posts .jb-card {
  display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0;
  overflow: hidden; border: 1px solid #e3e7dc; border-radius: 12px; background: #fff;
  box-shadow: 0 4px 10px rgba(48,61,45,.05), 0 16px 34px -10px rgba(48,61,45,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.jb-home-posts .jb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(48,61,45,.07), 0 24px 44px -12px rgba(48,61,45,.30);
}
.jb-home-posts .jb-image {
  display: block; flex-shrink: 0; overflow: hidden; aspect-ratio: 16/9;
  background: #f5f6f0; border-bottom: 1px solid #edf0e8;
}
.jb-home-posts .jb-image img {
  display: block; width: 100%; height: 100%; max-width: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  object-fit: contain;
}
.jb-home-posts .jb-no-image {
  display: flex; align-items: center; justify-content: center; height: 100%;
  padding: 20px; background: linear-gradient(135deg, #fff1df, #eaf2e6);
  color: #617749; font-size: 12px; letter-spacing: .1em;
}
.jb-home-posts .jb-content {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px;
}
.jb-home-posts .jb-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 13px;
  margin-bottom: 14px; color: #677575; font-size: 11px; letter-spacing: .04em;
}
.jb-home-posts .jb-category {
  padding: 3px 10px; border-radius: 4px; background: #fff1df; color: #985414; font-weight: 700;
}
.jb-home-posts .jb-card:nth-child(3n + 2) .jb-category { background: #eaf2e6; color: #526b41; }
.jb-home-posts .jb-card:nth-child(3n) .jb-category { background: #eaf2f3; color: #43686b; }
.jb-home-posts .jb-meta time { white-space: nowrap; }
.jb-home-posts .jb-meta time::before {
  content: ""; display: inline-block; width: 18px; height: 1px;
  margin: 0 10px 3px 0; background: #d4dbd8;
}
.jb-home-posts .jb-card-title {
  margin: 0 0 12px; padding: 0; color: #303d3d; font-size: 21px;
  font-weight: 650; line-height: 1.55; text-wrap: pretty; overflow-wrap: anywhere;
}
.jb-home-posts .jb-card-title a:hover { color: #ae5400; }
.jb-home-posts .jb-excerpt {
  margin: 0 0 18px; color: #677575; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere;
}
.jb-home-posts .jb-read {
  align-self: stretch; justify-content: space-between; margin-top: auto;
  padding-top: 14px; border-top: 1px solid #edf0e8;
}
@media (max-width: 1000px) {
  .jb-home-posts .jb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jb-home-posts .jb-wrap { width: calc(100% - 48px); }
}
@media (max-width: 600px) {
  .jb-home-posts { padding: 48px 0; }
  .jb-home-posts .jb-wrap { width: calc(100% - 36px); }
  .jb-home-posts .jb-heading { display: block; margin-bottom: 25px; }
  .jb-home-posts .jb-heading > .jb-link { margin-top: 18px; }
  .jb-home-posts .jb-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 22px; }
  .jb-home-posts .jb-content { padding: 22px; }
  .jb-home-posts .jb-title { font-size: 28px; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
  .jb-home-posts .jb-card, .jb-home-posts .jb-link span { transition: none; }
  .jb-home-posts .jb-card:hover, .jb-home-posts .jb-link:hover span { transform: none; }
}

/* Hand-drawn visual refresh. Article palette. */
.jb-home-posts{background:#e9f3f7;color:#123f59;padding:48px 0}
.jb-home-posts:before{display:none}
.jb-home-posts .jb-title,.jb-home-posts .jb-card-title{color:#123f59}
.jb-home-posts .jb-link,.jb-home-posts .jb-label{color:#326d83}
.jb-home-posts .jb-card{box-shadow:none;border-color:#cddfe4;border-radius:14px}
.jb-home-posts .jb-card:hover{box-shadow:0 8px 24px #244f5912;transform:translateY(-3px)}
.jb-home-posts .jb-no-image{background:#e5f0e9;color:#3b6b61}
.jb-home-posts .jb-category{background:#e5f0e9;color:#3d6c57}

