/* Card layout for importer pages (fact strip, service cards, advantage cards).
   Used by en/import-*-cards.html fragments, e.g. import-t-cloud-public-cmdb-configuration-item. */

.ic { margin: 10px 0 20px 0; }
.ic h2.ic-title { color: #003964; font-weight: 600; margin: 0 0 12px 0; }
.ic p.ic-lead { max-width: 900px; margin: 0 0 26px 0; }

/* Fact strip */
.ic-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: linear-gradient(135deg, #003964 0%, #005a9c 100%);
  border-radius: 12px;
  color: #fff;
  margin: 0 0 56px 0;
  overflow: hidden;
}
.ic-fact { padding: 24px 22px; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.ic-fact:last-child { border-right: none; }
.ic-fact b { display: block; font-size: 34px; line-height: 1.1; font-weight: 700; margin-bottom: 6px; }
.ic-fact span { display: block; font-size: 14px; line-height: 1.45; color: #d6e6f5; }

/* Card grid */
.ic-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ic-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1100px) {
  .ic-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .ic-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.ic-card {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  padding: 22px 20px 20px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.ic-card:hover { box-shadow: 0 8px 24px rgba(0, 57, 100, 0.12); transform: translateY(-2px); border-color: #b9cde0; }
.ic-card h3 { font-size: 17px; font-weight: 600; color: #003964; margin: 14px 0 8px 0; line-height: 1.3; }
.ic-card p { font-size: 14px; line-height: 1.55; margin: 0; color: #444; }

.ic-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: #e8f1fa; color: #005a9c;
  display: flex; align-items: center; justify-content: center;
}
.ic-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Advantage band: light background, first card highlighted */
.ic-band { background: #f1f5f9; border-radius: 16px; padding: 40px 32px; }
.ic-band .ic-card { border-color: #e3e9ef; }
.ic-card.ic-highlight { background: #003964; border-color: #003964; }
.ic-card.ic-highlight h3 { color: #fff; }
.ic-card.ic-highlight p { color: #d6e6f5; }
.ic-card.ic-highlight .ic-icon { background: rgba(255, 255, 255, 0.14); color: #fff; }

@media (max-width: 600px) {
  .ic-band { padding: 26px 16px; }
  .ic-fact { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .ic-fact:last-child { border-bottom: none; }
}
