/* Pagina „Blog” (lista de articole). Se încarcă după css/vm-shared.css. */

.blog-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; background:none; border:0; }
.blog-card{ position:relative; display:flex; flex-direction:column; justify-content:space-between; gap:26px; padding:30px 28px 26px; background:var(--paper); border:1px solid var(--line); border-radius:4px; transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.blog-card:hover{ border-color:var(--ochre-deep); transform:translateY(-3px); box-shadow:0 14px 28px rgba(10,58,63,.08); }
.blog-card::before{ content:""; position:absolute; left:0; top:-1px; height:2px; width:0; background:var(--ochre-deep); transition:width .4s ease; }
.blog-card:hover::before{ width:100%; }
.blog-card .read-tag{ margin-top:0; }
.blog-card h3{ font-size:21px; line-height:1.3; margin-top:12px; }
.blog-card p{ margin:12px 0 0; font-size:15.5px; line-height:1.6; color:var(--ink-soft); }
.bc-link{ font-weight:600; color:var(--teal-deep); text-decoration:none; font-size:15px; width:fit-content; background:linear-gradient(var(--ochre-deep),var(--ochre-deep)) 0 100%/0 2px no-repeat; transition:background-size .3s ease; padding-bottom:3px; }
.bc-link:hover, .bc-link:focus-visible{ background-size:100% 2px; }

/* Cel mai nou articol: vedeta paginii */
.blog-card:first-child{ grid-column:1 / -1; background:var(--forest); border-color:var(--forest); padding:46px 46px 40px; }
.blog-card:first-child::after{ content:"Cel mai nou"; position:absolute; top:22px; right:26px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ochre); }
.blog-card:first-child h3{ font-size:clamp(26px,3.2vw,38px); max-width:24ch; color:var(--on-forest); }
.blog-card:first-child p{ font-size:17.5px; max-width:56ch; color:var(--on-forest-soft); }
.blog-card:first-child .read-tag{ color:var(--on-forest-soft); }
.blog-card:first-child .bc-link{ color:var(--ochre); background-image:linear-gradient(var(--ochre),var(--ochre)); font-size:16px; }
.blog-card:first-child:hover{ border-color:var(--ochre); }

@media (max-width:980px){
  .blog-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .blog-grid{ grid-template-columns:1fr; gap:16px; }
  .blog-card, .blog-card:first-child{ padding:26px 22px 22px; }
  .blog-card:first-child::after{ position:static; display:block; margin-bottom:-6px; }
}
