/* Homepage — health journal (blog) cards. */
.log-home .posts{ display:grid; grid-template-columns:1.25fr 1fr; gap:24px; }
.log-home .post--lead{ grid-row:span 2; }
.log-home .post > a{ height:100%; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; background:var(--log-surface); box-shadow:var(--log-shadow); transition:transform .5s var(--log-spring), box-shadow .3s; }
.log-home .post > a:hover{ transform:translateY(-4px); box-shadow:0 1px 0 rgba(18,36,30,.04), 0 30px 50px -30px rgba(18,36,30,.5); }
.log-home .post__img{ overflow:hidden; aspect-ratio:16/10; background:var(--log-mint); }
.log-home .post--lead .post__img{ aspect-ratio:auto; flex:1; min-height:300px; }
.log-home .post__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--log-ease-out); }
.log-home .post > a:hover .post__img img{ transform:scale(1.05); }
.log-home .post--side > a{ flex-direction:row; }
.log-home .post--side .post__img{ width:40%; flex:none; aspect-ratio:auto; }
.log-home .post__body{ padding:24px 26px 26px; }
.log-home .post__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:13.5px; color:var(--log-muted); }
.log-home .topic{ padding:4px 10px; border-radius:999px; background:var(--log-mint); color:var(--log-green-deep); font-weight:600; }
.log-home .post h3{ margin-top:12px; font-size:clamp(20px, 1.7vw, 24px); font-weight:700; line-height:1.18; letter-spacing:-.02em; }
.log-home .post--lead h3{ font-size:clamp(24px, 2.4vw, 34px); }
.log-home .post__body p{ margin-top:10px; font-size:15.5px; color:var(--log-ink-2); }
.log-home .read{ display:inline-block; margin-top:16px; font-weight:700; color:var(--log-green-deep); background:linear-gradient(currentColor,currentColor) 0 100% / 0% 2px no-repeat; padding-bottom:2px; transition:background-size .4s var(--log-ease-out); }
.log-home .post > a:hover .read{ background-size:100% 2px; }
@media (max-width:900px){
  .log-home .posts{ grid-template-columns:1fr; }
  .log-home .post--lead{ grid-row:auto; }
  .log-home .post--lead .post__img{ aspect-ratio:16/10; min-height:0; flex:none; }
}
@media (max-width:560px){
  .log-home .posts{ gap:18px; }
  .log-home .post > a{ border-radius:22px; }
  .log-home .post--side > a{ flex-direction:column; }
  .log-home .post--side .post__img{ width:100%; aspect-ratio:16/10; }
  .log-home .post__body{ padding:20px 20px 22px; }
}
.log-home .post > a{ position:relative; }
.log-home .post > a:hover{ box-shadow:var(--log-glass-shadow), 0 34px 60px -34px rgba(18,36,30,.5); }
