/* NL Consultancies — blog styles (loads after /assets/style.css) */

/* Listing */
.blog-list-section{padding-top:clamp(2rem,4vw,3.5rem)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.post-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;min-width:0}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.post-card-img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--blue-soft)}
.post-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.post-card-body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.7rem;flex:1}
.post-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.83rem;color:var(--muted)}
.post-card h2{font-size:1.3rem;line-height:1.25}
.post-card h2 a{color:var(--ink);text-decoration:none}
.post-card h2 a:hover{color:var(--blue-deep);text-decoration:underline;text-decoration-color:var(--peach);text-underline-offset:4px}
.post-card-body>p:not(.post-card-meta){color:var(--muted);font-size:.97rem}
.post-card .more{margin-top:auto;font-weight:700;color:var(--blue-deep);text-decoration:none;font-size:.93rem}
.post-card .more:hover{text-decoration:underline}

/* Article */
.post-hero .eyebrow{margin-bottom:.8rem}
.post-hero h1{font-size:clamp(2rem,4.4vw,3.3rem);max-width:22ch}
.post-meta{margin-top:1rem!important;font-size:.98rem!important;color:var(--muted)}
.post{padding-block:clamp(1.5rem,3vw,2.5rem) clamp(2.5rem,5vw,4rem)}
.post-wrap{max-width:820px}
.post-banner{margin:0 0 2rem;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.post-banner img{display:block;width:100%;height:auto}
.post-body{max-width:none}
.post-body h2{font-size:clamp(1.45rem,2.6vw,1.85rem);margin:2.6rem 0 .9rem;scroll-margin-top:90px}
.post-body h3{font-size:1.22rem;margin:2rem 0 .6rem;color:var(--blue-deep);scroll-margin-top:90px}
.post-body p+ul,.post-body p+ol{margin-top:.6rem}
.post-body ul+p,.post-body ol+p,.post-body .table-wrap+p,.post-body figure+p{margin-top:.9rem}
.post-body ol{padding-left:1.3rem;display:grid;gap:.4rem}
.post-body li::marker{color:var(--sage-deep);font-weight:700}
.post-body strong{color:var(--ink)}
.post-body a{color:var(--blue-deep);text-decoration-color:var(--peach);text-underline-offset:3px;text-decoration-thickness:2px}
.post-body h3+p strong:first-child{color:var(--sage-deep)}
.post-figure{margin:1.4rem 0;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.post-figure img{display:block;width:100%;height:auto}
.table-wrap{overflow-x:auto;margin:1.2rem 0;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.post-body table{width:100%;border-collapse:collapse;font-size:.96rem;min-width:520px}
.post-body th{background:var(--blue-deep);color:#fff;text-align:left;padding:.75rem 1rem;font-weight:700}
.post-body td{padding:.75rem 1rem;border-top:1px solid var(--line);vertical-align:top;color:#33424E}
.post-body tr:nth-child(even) td{background:#F6F8FA}
.callout{margin:1.6rem 0;padding:1.1rem 1.3rem;background:var(--peach-soft);border-left:5px solid var(--peach);border-radius:10px}
.callout p{margin:0;color:var(--ink)!important}
.post-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:2.4rem!important}
.post-tags span{font-size:.78rem;font-weight:700;padding:.25rem .65rem;border-radius:999px;background:var(--sage-soft);color:var(--sage-deep)}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.8rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.share span{font-weight:700;margin-right:.4rem}
.share a{font-size:.9rem;font-weight:700;text-decoration:none;padding:.45rem .9rem;border-radius:999px;border:1.5px solid var(--blue-deep);color:var(--blue-deep)}
.share a:hover{background:var(--blue-deep);color:#fff}
.back{margin-top:1.6rem!important}
.back a{font-weight:700;text-decoration:none}
.blog-cta-wrap{padding-top:0}

@media (max-width:960px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .post-grid{grid-template-columns:1fr}
  .post-banner{border-radius:12px;margin-bottom:1.4rem}
}

/* Featured (latest) post */
.dot-sep::before{content:"·";margin-right:.5rem}
@media (min-width:961px){
  .post-card:first-child{grid-column:1/-1;flex-direction:row}
  .post-card:first-child .post-card-img{flex:0 0 56%;aspect-ratio:16/9}
  .post-card:first-child .post-card-body{padding:2rem 2.2rem;justify-content:center}
  .post-card:first-child h2{font-size:1.75rem}
  .post-card:first-child .more{margin-top:.6rem}
}
