/* Shared "pillar article" page styling (Applications, Comparatif) — the
   base .article-wrap/.article-body/.compare-table rules live in style.css;
   this file adds the app-ranking-card component used only on Applications. */
.app-cards { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.75rem 0; }
.app-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg); border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.app-card-rank { font-size: 1.75rem; font-weight: 900; color: rgba(229,9,20,0.25); flex-shrink: 0; width: 40px; }
.app-card-logo { width: 52px; height: 52px; border-radius: 13px; overflow: hidden; flex-shrink: 0; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.app-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.app-card-logo-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 900; font-size: 1.3rem; }
.app-card-body { flex: 1; min-width: 0; }
.app-card-name { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.app-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.app-tag { font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; background: #fff; border: 1px solid rgba(0,0,0,0.08); color: var(--ink); }
.app-tag--free { background: rgba(22,163,74,0.1); color: #16a34a; border-color: rgba(22,163,74,0.2); }
.app-tag--premium { background: rgba(229,9,20,0.08); color: var(--red); border-color: rgba(229,9,20,0.2); }
.app-card-desc { font-size: 0.87rem; color: var(--muted); margin-bottom: 0.75rem; line-height: 1.6; }
.app-card-pros { display: flex; flex-direction: column; gap: 0.35rem; margin: 0; }
.app-card-pros li { font-size: 0.82rem; color: #3a3a5c; list-style: none; padding-left: 1.1rem; position: relative; }
.app-card-pros li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

@media (max-width: 560px) {
  .app-card { flex-direction: column; }
  .app-card-rank { width: auto; }
}
