/* Post grid with cover images */
 .post-grid{
     display:grid;
     grid-template-columns:repeat(1,1fr);
     gap:20px;
}
 @media (min-width:700px){
     .post-grid{
         grid-template-columns:repeat(2,1fr);
    }
}
 @media (min-width:1024px){
     .post-grid{
         grid-template-columns:repeat(3,1fr);
    }
     body.is-home .post-grid{
         grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(min-width:1025px){
     body.is-home .post-grid{row-gap:28px;}
}
 .year-heading{
     font-size:calc(18px * var(--type-scale));
     font-weight:500;
     margin:28px 0 16px;
     color:var(--foreground);
     letter-spacing:-.01em;
}
 .post-card-link{
     display:flex;
     flex-direction:column;
     height:100%;
     color:inherit;
}
/* Keep the whole card legible and give keyboard focus a clear outline. */
.post-card-link:hover{opacity:1;}
.post-card-link:hover .post-title{color:var(--link-hover);}
.post-card-link:focus-visible{
     outline:2px solid var(--foreground);
     outline-offset:-3px;
}
 .post-avatar{
     width:20px;
     height:20px;
     border-radius:999px;
     object-fit:cover;
     border:1px solid var(--border-soft);
}
 .post-author{
     display:inline-flex;
     align-items:center;
     gap:6px;
     font-weight:500;
}
 .post-coauthors-badge{
     display:inline-flex;
     align-items:center;
     gap:3px;
     padding:1px 5px;
     border:1px solid var(--border);
     color:var(--muted-foreground);
     font-size:10px;
     font-family:var(--mono);
     font-weight:600;
}
 .post-coauthors-badge svg{
     width:11px;
     height:11px;
}
/* Post page author image - circle like list */
 .article-meta .post-avatar{
     width:24px;
     height:24px;
     border-radius:999px;
     object-fit:cover;
     border:1px solid var(--border-soft);
}
 .post-tags{
     display:flex;
     flex-wrap:wrap;
     gap:6px;
     margin-top:8px;
}
 .post-all-body{
     padding:10px;
}
 .post-card{
     border:1px solid transparent;
     overflow:hidden;
     display:flex;
     flex-direction:column;
     transition:background .3s, transform .15s;
     background:transparent;
}
 .post-card:hover{
     transform:translateY(-1px);
}
 .post-thumb{
     aspect-ratio:16/9;
     background:var(--bg-elev);
     position:relative;
     overflow:hidden;
}
 .post-thumb img{
     width:100%;
     height:100%;
     object-fit:contain;
     display:block;
}
 .post-body{
     padding:16px;
     flex:1;
     display:flex;
     flex-direction:column;
     gap:8px;
}
 .post-title{
     font-size:calc(16px * var(--type-scale));
     font-weight:700;
     line-height:1.35;
     margin:0;
     letter-spacing:-.01em;
     color:var(--foreground);
     /* Let short titles use one line so excerpts sit directly beneath them. */
     display:-webkit-box;
     -webkit-line-clamp:2;
     -webkit-box-orient:vertical;
     overflow:hidden;
}
 .post-title a{
     color:inherit;
}
 .post-excerpt{
     margin:0;
     color:color-mix(in oklab,var(--foreground) 75%,var(--muted-foreground));
     font-size:calc(13px * var(--type-scale));
     line-height:1.5;
     display:block;
     overflow-wrap:anywhere;
}
/* margin-top:auto (not flex:1 on .post-excerpt) pins this - and .post-tags right below it
   - flush to the bottom of the card, regardless of how many lines the title/excerpt wrap
   to. Descriptions are complete sentences of up to 200 characters and are not clamped. */
 .post-meta{
     display:flex;
     gap:8px;
     align-items:center;
     flex-wrap:wrap;
     font-size:calc(11px * var(--type-scale));
     color:var(--muted-foreground);
     font-family:var(--mono);
     margin-top:auto;
     padding-top:4px;
}
 .post-meta .dot{
     width:2px;
     height:2px;
     background:var(--muted-foreground);
     border-radius:999px;
}
 .tag{
     font-size:calc(12px * var(--type-scale));
     border:1px solid var(--border);
     padding:2px 8px;
     border-radius:0 !important;
     color:var(--muted-foreground);
     font-family:var(--mono);
     text-transform:lowercase;
     display:inline-flex;
     align-items:center;
     gap:4px;
}
 .article-tags{
     display:flex;
     gap:6px;
     flex-wrap:wrap;
     margin-top:10px;
     justify-content:center;
}

.post-tags .badge {border-color:color-mix(in oklab,var(--tag-link-border) 90%,transparent);}
