/* =====================================================================
   FastDriver Plugin 1356 - Icon Card Grid
   Column count and card size come from the database (Main row).
   ===================================================================== */
.fdig-section,.fdig-section *{box-sizing:border-box}
.fdig-section{
  --fdig-lime:var(--primary-color-one,#c1f11d);
  --fdig-ink:var(--primary-color-two,#141414);
  --fdig-deep:#7da40a;
  --fdig-tint:#f2fdd4;
  background:#fff;padding:60px 24px;
  font-family:var(--creote-family-two,"Inter",system-ui,sans-serif);
  font-size:var(--font-size-base,15px);color:var(--fdig-ink);
  -webkit-font-smoothing:antialiased;
}
.fdig-wrap{max-width:1180px;margin:0 auto}
.fdig-section a{text-decoration:none;color:inherit}
.fdig-tag{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--fdig-ink);background:var(--fdig-lime);padding:7px 18px;border-radius:50px;margin-bottom:12px}
.fdig-title{font-family:var(--creote-family-one,"Spartan",sans-serif);font-size:clamp(22px,2.8vw,34px);font-weight:800;letter-spacing:-.4px;line-height:1.35;margin:0 0 10px}
.fdig-title span{color:var(--fdig-deep)}
.fdig-intro{font-size:14.5px;color:#6b6b6b;line-height:1.8;max-width:700px;margin:0}

.fdig-grid{display:grid;gap:16px;margin-top:36px}
.fdig-grid--2{grid-template-columns:repeat(2,1fr)}
.fdig-grid--3{grid-template-columns:repeat(3,1fr)}
.fdig-grid--4{grid-template-columns:repeat(4,1fr)}

.fdig-card{
  display:block;background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:22px 18px;
  transition:border-color .18s,box-shadow .18s,transform .18s;
}
.fdig-card:hover{border-color:var(--fdig-deep);box-shadow:0 4px 20px rgba(0,0,0,.07)}
a.fdig-card:hover{transform:translateY(-2px)}
.fdig-card__ico{
  width:40px;height:40px;border-radius:10px;background:var(--fdig-tint);
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;
}
.fdig-card__ico svg{width:20px;height:20px;fill:var(--fdig-deep);display:block}
.fdig-card__t{font-size:14.5px;font-weight:800;color:var(--fdig-ink);margin-bottom:5px;line-height:1.35}
.fdig-card__d{font-size:13px;color:#6b6b6b;line-height:1.6;margin:0}
.fdig-card__cta{display:inline-block;margin-top:10px;font-size:12.5px;font-weight:700;color:var(--fdig-deep)}

/* Compact variant */
.fdig-grid--compact .fdig-card{padding:22px 20px}
.fdig-grid--compact .fdig-card:hover{box-shadow:none}
.fdig-grid--compact .fdig-card__ico{width:36px;height:36px;border-radius:9px}
.fdig-grid--compact .fdig-card__ico svg{width:18px;height:18px}
.fdig-grid--compact .fdig-card__t{font-size:14px}
.fdig-grid--compact .fdig-card__d{font-size:13px;line-height:1.65}

@media(max-width:960px){
  .fdig-grid--3,.fdig-grid--4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .fdig-grid{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  .fdig-section{padding:40px 16px}
}
