/* PBF Feature Cards Widget: style.css */

.lss-fc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Grid columns */
.lss-fc-cols-2,
.lss-fc-cols-3,
.lss-fc-cols-4 {
  display: grid;
}
.lss-fc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lss-fc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lss-fc-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card base */
.lss-fc-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 24px 28px;
  transition: box-shadow .2s, border-color .2s;
}
.lss-fc-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Carte cliquable : pas de style lien, léger effet au survol */
.lss-fc-card { text-decoration: none; color: inherit; }
.lss-fc-card--link { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease; }
.lss-fc-card--link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 23, 42, .10); }

/* ── Position : gauche (défaut) ── */
.lss-fc-pos-left {
  flex-direction: row;
}

/* ── Position : haut ── */
.lss-fc-pos-top {
  flex-direction: column;
  align-items: center;
}
.lss-fc-pos-top .lss-fc-body {
  text-align: center;
}

/* ── Position : droite ── */
.lss-fc-pos-right {
  flex-direction: row-reverse;
}

/* Icon container */
.lss-fc-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background-color: #eef4ff; /* fond par défaut ; surchargé par la couleur de la carte */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lss-fc-emoji {
  font-size: 28px;
  line-height: 1;
}
.lss-fc-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Body */
.lss-fc-body {
  flex: 1;
  min-width: 0;
}
.lss-fc-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
  line-height: 1.3;
}
.lss-fc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Mobile */
@media (max-width: 1024px) {
  .lss-fc-cols-3,
  .lss-fc-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .lss-fc-cols-2,
  .lss-fc-cols-3,
  .lss-fc-cols-4 {
    grid-template-columns: 1fr;
  }
  .lss-fc-card {
    padding: 18px 20px;
    gap: 14px;
  }
  .lss-fc-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .lss-fc-emoji {
    font-size: 22px;
  }
  .lss-fc-img {
    width: 22px;
    height: 22px;
  }
  .lss-fc-title {
    font-size: 14px;
  }
  .lss-fc-desc {
    font-size: 13px;
  }
}
