/* =====================================================================
   FastDriver Plugin 1367 - Icon Card Grid Rows
   Colour, spacing and layout only. No font-size and no font-family are
   declared anywhere in this file, so headings and body copy inherit the
   site defaults from theme-css.css (body -> --creote-family-two /
   --font-size-base, h1..h6 -> --creote-family-one at the theme's own
   sizes and line heights, p -> 16px / 26px). Change the theme type scale
   and this section follows it.
   Scoped under .fdic-sec.
   ===================================================================== */

.fdic-sec,.fdic-sec *,.fdic-sec *::before,.fdic-sec *::after{box-sizing:border-box}

.fdic-sec{
  --fdic-lime:var(--primary-color-one,#C1F11D);
  --fdic-head:var(--heading-dark,#141414);
  --fdic-body:var(--text-color-dark,#4a4e56);
  --fdic-line:var(--border-color-dark,#e4e7ee);
  --fdic-acc:var(--menu-active-color,#4cae08);
  --fdic-tint:#f8fde8;
  --fdic-tint:color-mix(in srgb, var(--fdic-lime) 13%, #ffffff);
  background:#ffffff;
  padding:72px 0;
  color:var(--fdic-body);
  -webkit-font-smoothing:antialiased;
}
.fdic-wrap{max-width:1280px;margin:0 auto;padding:0 40px}

.fdic-title{
  margin:0;
  max-width:70ch;
  font-weight:600;
  color:var(--fdic-head);
}
.fdic-intro{margin-top:16px;max-width:76ch}
.fdic-intro p{margin:0 0 12px;color:var(--fdic-body)}
.fdic-intro p:last-child{margin-bottom:0}

/* Bands. The first band clears the heading, later bands only need the gap. */
.fdic-grid{margin-top:16px;display:grid;gap:16px;align-items:stretch}
.fdic-title + .fdic-grid,.fdic-intro + .fdic-grid{margin-top:24px}
.fdic-grid--2{grid-template-columns:repeat(2,1fr)}
.fdic-grid--3{grid-template-columns:repeat(3,1fr)}
.fdic-grid--4{grid-template-columns:repeat(4,1fr)}

.fdic-card{
  background:#ffffff;
  border:1px solid var(--fdic-line);
  border-radius:14px;
  padding:24px 22px 26px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.fdic-card:hover{border-color:var(--fdic-head);box-shadow:0 6px 18px rgba(0,0,0,.06)}

.fdic-card__ic{
  flex:none;
  width:44px;
  height:44px;
  border:1px solid var(--fdic-line);
  border-radius:11px;
  background:var(--fdic-tint);
  display:grid;
  place-items:center;
  color:var(--fdic-head);
}
.fdic-card__ic svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.fdic-card__ic svg [fill]:not([fill="none"]){fill:currentColor}

.fdic-card__t{
  margin:0;
  font-weight:600;
  color:var(--fdic-head);
}
.fdic-card__b p{margin:0 0 10px;color:var(--fdic-body)}
.fdic-card__b p:last-child{margin-bottom:0}

@media(max-width:1000px){
  .fdic-grid--3,.fdic-grid--4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .fdic-sec{padding:56px 0}
  .fdic-wrap{padding:0 20px}
  .fdic-grid--2,.fdic-grid--3,.fdic-grid--4{grid-template-columns:1fr}
}
@media(max-width:400px){
  .fdic-wrap{padding:0 16px}
}
