/* midue.com — Novetats (blog). Complementa midue.css; no el substitueix. */
.posts-grid .post-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.post-card-img{display:block;aspect-ratio:16/9;background:var(--tint);overflow:hidden}
.post-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.post-card:hover .post-card-img img{transform:scale(1.03)}
.post-card-body{padding:1.5rem 1.6rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.post-card h3{margin:0;font-size:1.2rem;line-height:1.3}
.post-card h3 a{color:var(--ink);text-decoration:none}
.post-card h3 a:hover{color:var(--teal)}
.post-card h3 a::after{content:"";position:absolute;inset:0}
.post-card p{margin:0}
.post-card .more{margin-top:auto;padding-top:.4rem}
.post-meta{font-size:.85rem;color:var(--ink-2);margin:0}
.hero-sub .post-meta{color:#B6C2CC;margin-bottom:.6rem}
.post-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem;position:relative;z-index:1}
.post-tags .chip{font-size:.78rem;padding:.25rem .7rem;background:var(--mint-4);color:var(--teal);border-color:var(--mint-3)}
.post-tags .chip::before{display:none}
.hero-sub .post-tags{margin-top:1rem}
.hero-sub .post-tags .chip{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}
.post-hero h1{max-width:24ch}
.post-hero .lead{max-width:60ch}
.post-section{padding-top:clamp(2.5rem,6vw,4.5rem)}
.post{margin:0 auto}
.post-hero-img{margin:0 0 2.2rem;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line)}
.post-hero-img img{width:100%;height:auto;display:block}
.post-body{font-size:1.06rem;line-height:1.75}
.post-body p{margin:0 0 1.2rem}
.post-body h2{font-size:1.5rem;margin-top:2.4rem}
.post-body h3{margin-top:1.8rem}
.post-body h4{margin-top:1.4rem}
.post-body ul,.post-body ol{margin:0 0 1.2rem;padding-left:1.4rem;color:var(--ink-2)}
.post-body li{margin:.35rem 0}
.post-body blockquote{margin:1.6rem 0;padding:1rem 1.4rem;border-left:4px solid var(--mint);background:var(--tint);border-radius:0 var(--r-lg) var(--r-lg) 0;font-family:var(--font-display);font-weight:600;color:var(--ink)}
.post-body blockquote p:last-child{margin:0}
.post-body figure{margin:1.8rem 0}
.post-body figure img,.post-body img{max-width:100%;height:auto;border-radius:var(--r-lg);border:1px solid var(--line)}
.post-body figcaption{font-size:.85rem;color:var(--ink-2);margin-top:.5rem;text-align:center}
.post-body pre{background:var(--ink);color:#E6EDF3;padding:1rem 1.2rem;border-radius:var(--r-lg);overflow:auto;font-size:.9rem;margin:0 0 1.2rem}
.post-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}
.post-body :not(pre)>code{background:var(--tint);padding:.1em .4em;border-radius:6px}
.post-body hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.post-footer{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.post-share{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;font-size:.9rem}
.post-share span{color:var(--ink-2);font-weight:600}
.post-share a{padding:.4rem .9rem;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-weight:600;color:var(--ink)}
.post-share a:hover{border-color:var(--mint-2);color:var(--teal)}
.post-back{font-weight:700;color:var(--teal);text-decoration:none}
@media (max-width:860px){.posts-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.posts-grid{grid-template-columns:1fr}}
.crumbs a+a::before{content:"/";margin:0 .5rem;color:var(--mint)}
