/* =============================================================
   connected-wins-block.css — Bluworks v2
   "Why bluworks wins in work." two-panel comparison section.
   Mirrors style.css Sprint 3 patch + May 19 pass 3 overrides.
   ============================================================= */

.connected-wins-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--surface, #FFFFFF);
  padding-top: 20px !important;
}

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

/* ── Section head ── */
.connected-wins-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-8, 56px);
}

.connected-wins-section .section-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.02em;
  line-height: 1.1;
  color: var(--ink, #0A0F1E);
  margin: 0 0 12px;
}

.connected-wins-section .section-lead {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mid, #4B5068);
  margin: 0;
  line-height: 1.55;
}

/* ── Two-column grid ── */
.connected-wins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5, 20px);
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .connected-wins-grid { grid-template-columns: 1fr; }
}

/* ── Panels ── */
.connected-panel {
  border-radius: var(--r-4, 16px);
  padding: var(--s-7, 28px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4, 16px);
  position: relative;
  overflow: hidden;
}

/* Old way — light grey */
.connected-panel.connected-panel-old {
  background: #EEF1F5;
  border: 1px solid #DDE2E8;
  color: var(--ink, #0A0F1E);
}

/* With bluworks — blue */
.connected-panel.connected-panel-new {
  background: var(--blu-primary, #1E50E5);
  color: #fff;
}

/* ── Panel label ("The old way" / "With bluworks") ── */
.connected-panel-label {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.75;
  display: block;
}

/* ── Panel h3 ── */
.connected-panel h3 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5, 20px);
}

.connected-panel-old h3 { color: var(--ink, #0A0F1E); }
.connected-panel-new h3 { color: #fff; }

/* ── Item list ── */
.connected-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4, 16px);
}

.connected-panel-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3, 12px);
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.connected-panel-old .connected-panel-list li { color: var(--ink, #0A0F1E); }
.connected-panel-new .connected-panel-list li { color: #fff; }

/* ── Icon circle ── */
.connected-panel-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.connected-panel-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.connected-panel-icon-x     { background: #0A0F1E; color: #fff; }
.connected-panel-icon-check {
   
    color: white;
    background: rgba(255, 255, 255, 0.20);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .connected-panel { padding: var(--s-6, 28px); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .connected-panel { transition: none; }
}
ul.connected-panel-list {
    padding-left: 0px;
}
/* ── Arabic RTL font override (auto) ────────────────────────────── */
html[dir="rtl"] .connected-wins-section .section-head h2,
html[dir="rtl"] .connected-wins-section .section-lead,
html[dir="rtl"] .connected-panel-label,
html[dir="rtl"] .connected-panel h3,
html[dir="rtl"] .connected-panel-list li {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif !important;
}