/* ============================================================
   Block: intelligence-activation
   ============================================================ */

.intelligence-activation-section {
    padding: 75px 0;
    background-color: var(--wp--preset--color--background, #fff);
    color: var(--wp--preset--color--foreground);
}

.ia-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--wp--preset--color--secondary) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.ia-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--secondary);
    flex-shrink: 0;
    display: none;
}

.ia-heading {
    margin: 0 0 18px;
    color: var(--wp--preset--color--foreground);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    max-width: 960px;
}

.ia-heading-accent {
    color: var(--wp--preset--color--primary);
}

.ia-sub {
    margin: 15px 0 48px !important;
    max-width: 820px;
    color: var(--wp--preset--color--foreground);
    font-size: 18px !important;
    line-height: 1.5 !important;
}

.ia-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}

.ia-card {
    position: relative;
    background-color: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--grey, #efefef);
    border-radius: 14px;
    padding: 30px 32px 32px;
    box-shadow: 0 8px 24px -10px rgba(0, 30, 80, 0.18);
    display: flex;
    flex-direction: column;
}

.ia-card--doxsona { border-top: 8px solid #d02db0; }
.ia-card--ace     { border-top: 8px solid #d02db0; }

.ia-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
}

.ia-card-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
}

.ia-card-icon svg {
    width: 100%;
    height: 100%;
}

.ia-card-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--wp--preset--color--foreground);
}

.ia-card-role {
    margin: 0 0 14px;
    color: var(--wp--preset--color--primary);
    font-size: 12px;
    font-weight: bold !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.ia-card-desc {
    margin: 0 0 22px;
    color: var(--wp--preset--color--foreground);
    font-size: 18px !important;
    line-height: 1.5 !important;
    flex-grow: 1;
}

/* Pills, side-by-side. Markup uses <div><span>…</span></div> to side-step
   any parent <ul> resets. Colors lifted straight from the dev-handoff
   HTML: light-blue tint for Doxsona, solid dark-blue for ACE. */
.ia-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.ia-chips > span {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    background-color: #EAF4FE;
    border: 1px solid #BFD7F4;
    color: var(--wp--preset--color--darkblue, #1052D6);
}

/* ACE variant: solid dark-blue pills with white text. */
/* .ia-card--ace .ia-chips > span {
    background-color: var(--wp--preset--color--darkblue, #1052D6);
    border-color: var(--wp--preset--color--darkblue, #1052D6);
    color: var(--wp--preset--color--background, #fff);
} */

.ia-arrow {
    align-self: center;
    width: 28px;
    height: 20px;
    background-color: var(--wp--preset--color--secondary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20' fill='none'><path d='M1 10h24M18 2l8 8-8 8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20' fill='none'><path d='M1 10h24M18 2l8 8-8 8' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

.intelligence-activation-section.alignfull,
.wp-block-pixacore-intelligence-activation.alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991px) {
    .intelligence-activation-section { padding: 72px 0; }
    .ia-grid { grid-template-columns: 1fr; gap: 20px; }
    .ia-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 767px) {
    .ia-card { padding: 24px 22px 26px; }
    .ia-card-title { font-size: 22px; }
}
