/* ============================================================
   ck-icon-card — Homepage icon card grid component
   Scoped to .ck-icon-cards-wrapper — no Salient/WPBakery
   style leakage. Tokens come from senzing-tokens.css which
   is already loaded by functions.php.
   ============================================================ */

/* ── Grid wrapper ───────────────────────────────────────── */

.ck-icon-cards-wrapper {
    display: grid;
    gap: 20px;
}

.ck-icon-cards--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ck-icon-cards--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ── Individual card ────────────────────────────────────── */

.ck-icon-card {
    background: var(--light-surface, #F7F5F2);
    border: 1px solid var(--light-border, #E0DCD7);
    border-radius: 10px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease;
}

/* Gradient top accent bar */
.ck-icon-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad, linear-gradient(90deg, #FF4E1F 0%, #E8640A 45%, #F0920A 100%));
}

.ck-icon-card:hover {
    border-color: rgba(255, 78, 31, .3);
    transform: translateY(-3px);
}

/* ── Icon box ───────────────────────────────────────────── */

.ck-icon-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--grad, linear-gradient(90deg, #FF4E1F 0%, #F0920A 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.ck-icon-card__icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 1.75;
    fill: none;
}

/* ── Card heading ───────────────────────────────────────── */

.ck-icon-card__heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--light-text, #1A1614);
    margin: 0 0 10px !important;
    letter-spacing: 0 !important;
}

/* ── Card body ──────────────────────────────────────────── */

.ck-icon-card__body {
    font-size: 14px !important;
    color: var(--light-meta, #555555);
    line-height: 1.7;
    margin: 0 !important;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
    .ck-icon-cards--cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ck-icon-cards--cols-3,
    .ck-icon-cards--cols-2 {
        grid-template-columns: 1fr;
    }
}

/* ── Section header helpers ─────────────────────────────── */
/* Reusable section-level heading block used above card grids.
   .ck-section-header is placed in a [vc_column_text] above the
   [ck_icon_cards] in each section row.                         */

.ck-section-header {
    max-width: 680px;
    margin-bottom: 48px;
}

.ck-section-header h2 {
    margin: 12px 0 16px !important;
}

.ck-section-header p {
    font-size: 17px;
    color: var(--light-meta, #555555);
    line-height: 1.7;
    margin: 0;
}
