/* =============================================================
   why-diff-block.css — Bluworks v2
   "What you get with bluworks." differentiators grid.
   Layout mirrors the exact CSS in style.css (May 19 pass 3):
     grid — icon LEFT of heading, description full-width below.
   No blue top border — all sides use 1px solid var(--line).
   ============================================================= */

/* ── Section ── */
.why-diff-section {
    background: linear-gradient(180deg, #EEF3FF 0%, #FAFBFD 100%);  border-top: 1px solid var(--line, #E4E8F3);
  padding: clamp(64px, 8vw, 96px) 0;
}

.why-diff-section .container {
  width: 100%;
  max-width: var(--maxw, 1240px);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
  box-sizing: border-box;
}

/* ── Section heading — centred ── */
.why-diff-section .wb-diff-head {
  text-align: center;
  margin-bottom: var(--s-7, 40px);
}

.why-diff-section .wb-diff-head h2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--lh-snug, 1.15);
  color: var(--ink, #0A0F1E);
  margin: 0;
  text-align: center;
}

/* ── 3-column grid ── */
.why-diff-section .wb-diff-grid-23 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--s-4, 16px) !important;
  align-items: stretch !important;  /* equal row heights */

}

@media (max-width: 920px) {
  .why-diff-section .wb-diff-grid-23 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .why-diff-section .wb-diff-grid-23 { grid-template-columns: 1fr !important; }
}

/* ── Card: GRID layout — icon left, heading right, description below ── */
.why-diff-section .wb-diff-card {
  background: var(--surface, #FFFFFF) !important;
  border: 1px solid var(--line, #E4E8F3) !important;
  border-radius: var(--r-3, 12px) !important;
  padding: var(--s-6, 28px) !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-rows: auto 1fr !important;
  column-gap: var(--s-4, 16px) !important;
  row-gap: var(--s-3, 12px) !important;
  align-items: center !important;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
      align-items: stretch !important;
}

.why-diff-section .wb-diff-card:hover {
  border-color: var(--blu-primary, #1E50E5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 24px 48px rgba(10, 15, 30, 0.08) !important;
}

/* ── Icon: top-left grid cell, NEVER expands ── */
.why-diff-section .wb-diff-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 10px !important;
  background: var(--blu-soft, #EEF3FF) !important;
  color: var(--blu-primary, #1E50E5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.why-diff-section .wb-diff-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  display: block !important;
}

/* ── Heading: top-right, vertically centred with icon ── */
.why-diff-section .wb-diff-card h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink, #0A0F1E);
  margin: 0 !important;
}

/* ── Description: spans full width below icon + heading ── */
.why-diff-section .wb-diff-card p {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  color: var(--ink-mid, #4B5068);
  line-height: 1.55;
  margin: 0 !important;
      align-self: center !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .why-diff-section .wb-diff-card { transition: none !important; }
  .why-diff-section .wb-diff-card:hover { transform: none !important; }
}
/* ── Arabic RTL font override (auto) ────────────────────────────── */
html[dir="rtl"] .why-diff-section .wb-diff-head h2,
html[dir="rtl"] .why-diff-section .wb-diff-card h3,
html[dir="rtl"] .why-diff-section .wb-diff-card p {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif !important;
}