/* ===================================================================
   БЛОГ — карта на статия (blog/partials/card.blade.php)
   Ползва се в /blog, в темите и в „Още от…" под самата статия, затова
   стои в отделен файл.
   Визията на Sauto (10.11.2026, като „Съвети и новини от блога" на
   началната): бяла карта със сянка (lift.css), темата върху снимката,
   долу дата · прегледи · „Прочети". Старата (megacar) — в
   ~/tools/backup-sauto-bloghub-2026-11-10.
=================================================================== */
.artcard{
  display:flex; flex-direction:column; min-width:0; background:#fff;
  border:1px solid var(--surface-line,#d8dde2); border-radius:18px; overflow:hidden;
  box-shadow:var(--lift-1,0 6px 16px -6px rgba(15,27,38,.22)); color:var(--dark); text-decoration:none;
  transition:transform .18s var(--ease), box-shadow .2s, border-color .2s;
}
.artcard:hover{ transform:translateY(-3px); border-color:#bcd7a0; box-shadow:0 18px 34px -18px rgba(15,27,38,.35); }
.artcard__media{
  position:relative; aspect-ratio:16/9; overflow:hidden;
  background:#e6eae3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23b9c2b1' stroke-width='1.3'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 15l5-5 4 4 3-3 6 6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/44px;
}
.artcard__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease); }
.artcard:hover .artcard__media img{ transform:scale(1.05); }
.artcard__cat{
  position:absolute; left:12px; bottom:12px; padding:4px 9px; border-radius:6px;
  background:var(--accent); color:#fff; font-size:11px; font-weight:800; letter-spacing:.4px; text-transform:uppercase; line-height:1.3;
  box-shadow:0 4px 10px -4px rgba(0,0,0,.45);
}
.artcard__body{ display:flex; flex-direction:column; gap:8px; flex:1; padding:16px 18px 16px; }
.artcard__title{ margin:0; font-size:17px; font-weight:800; line-height:1.3; color:#0f1b26; text-wrap:balance; transition:color .15s; }
.artcard:hover .artcard__title{ color:var(--accent); }
.artcard__excerpt{ margin:0; font-size:14px; line-height:1.55; color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.artcard__foot{ margin-top:auto; display:flex; align-items:center; gap:14px; padding-top:12px; border-top:1px solid var(--line); font-size:12.5px; color:#8a9096; }
.artcard__foot > span{ display:inline-flex; align-items:center; gap:5px; font-variant-numeric:tabular-nums; }
.artcard__foot svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.7; }
.artcard__go{ margin-left:auto; font-size:13.5px; font-weight:800; color:var(--accent); }
.artcard__go svg{ width:16px; height:16px; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s var(--ease); }
.artcard:hover .artcard__go svg{ transform:translateX(3px); }
@media (max-width:767px){
  .artcard{ border-radius:16px; }
  .artcard__title{ font-size:16.5px; }
}
@media (prefers-reduced-motion:reduce){
  .artcard, .artcard__media img, .artcard__go svg{ transition:none; }
}
