.elementor-16217 .elementor-element.elementor-element-5417668{--display:flex;}body.elementor-page-16217:not(.elementor-motion-effects-element-type-background), body.elementor-page-16217 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#05001B;}/* Start custom CSS *//* ============================================================
       kc-cases — Case Studies Index Page
       All classes prefixed kc-cases- to avoid theme conflicts.
       Design system: Inter / #05001b / #7447d6 / #13e1af / #ffb542
       ============================================================ */

    .kc-cases-wrap {
      font-family: 'Inter', sans-serif;
      color: #fff;
      background: #05001b;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .kc-cases-wrap *,
    .kc-cases-wrap *::before,
    .kc-cases-wrap *::after {
      box-sizing: border-box;
    }

    .kc-cases-wrap a {
      text-decoration: none;
      color: inherit;
    }

    /* ── HERO ─────────────────────────────────────────────────── */
    .kc-cases-hero {
      position: relative;
      padding: 90px 24px 80px;
      text-align: center;
      overflow: hidden;
      background-image:
        url('https://cwdynamic.com/wp-content/uploads/grid-background-100.webp'),
        linear-gradient(135deg, #1f1147 0%, #7447d6 100%);
      background-size: auto, cover;
      background-repeat: repeat, no-repeat;
      background-position: center, center;
      background-blend-mode: soft-light, normal;
    }

    .kc-cases-hero::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 80px;
      background: linear-gradient(to bottom, transparent, #05001b);
      pointer-events: none;
    }

    .kc-cases-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 780px;
      margin: 0 auto;
    }

    .kc-cases-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(116, 71, 214, 0.3);
      border: 1px solid rgba(255,255,255,0.2);
      color: #ddd9f7;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 7px 18px;
      border-radius: 30px;
      margin-bottom: 24px;
    }

    .kc-cases-eyebrow::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #13e1af;
      display: inline-block;
      flex-shrink: 0;
    }

    .kc-cases-hero-title {
      color: #fff;
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1px;
      margin: 0 0 20px;
    }

    .kc-cases-hero-title .kc-cases-accent {
      background: linear-gradient(90deg, #13e1af, #a47dff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .kc-cases-hero-sub {
      color: rgba(255,255,255,0.75);
      font-size: 18px;
      font-weight: 400;
      max-width: 520px;
      margin: 0 auto 48px!important;
    }

    .kc-cases-hero-stats {
      display: flex;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px;
      padding: 28px 16px;
      backdrop-filter: blur(6px);
    }

    .kc-cases-hero-stat {
      flex: 1;
      min-width: 120px;
      text-align: center;
      padding: 8px 20px;
    }

    .kc-cases-hero-stat + .kc-cases-hero-stat {
      border-left: 1px solid rgba(255,255,255,0.12);
    }

    .kc-cases-stat-num {
      display: block;
      color: #13e1af;
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -1px;
    }

    .kc-cases-stat-lbl {
      display: block;
      color: rgba(255,255,255,0.6);
      font-size: 12px;
      font-weight: 500;
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* ── INTRO ────────────────────────────────────────────────── */
    .kc-cases-intro {
      text-align: center;
      padding: 64px 24px 40px;
      max-width: 720px;
      margin: 0 auto;
    }

    .kc-cases-intro-title {
      color: #fff;
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .kc-cases-intro-text {
      color: rgba(255,255,255,0.6);
      font-size: 17px;
      line-height: 1.75;
    }

    /* ── FILTERS ──────────────────────────────────────────────── */
    .kc-cases-filters {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 0 24px 52px;
    }

    .kc-cases-filter-btn {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.18);
      color: rgba(255,255,255,0.65);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      padding: 9px 22px;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.2s ease;
      letter-spacing: 0.3px;
    }

    .kc-cases-filter-btn:hover {
      border-color: #7447d6;
      color: #fff;
      background: rgba(116,71,214,0.2);
    }

    .kc-cases-filter-btn.kc-active {
      background: #7447d6;
      border-color: #7447d6;
      color: #fff;
    }

    /* ── GRID ─────────────────────────────────────────────────── */
    .kc-cases-grid {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px 80px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 36px; /* extra gap to give headshots breathing room */
    }

    /* ── CARD ─────────────────────────────────────────────────── */
    .kc-cases-card {
      background: #0d0826;
      border: 1px solid rgba(116,71,214,0.25);
      border-radius: 16px;
      overflow: visible; /* must be visible so headshot can overflow the card-img */
      display: flex;
      flex-direction: column;
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      position: relative;
    }

    /* Clip the card corners but NOT the headshot overflow */
    .kc-cases-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      pointer-events: none;
    }

    .kc-cases-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 60px rgba(116,71,214,0.3);
      border-color: rgba(116,71,214,0.6);
    }

    /* ── CARD IMAGE ───────────────────────────────────────────── */
    .kc-cases-card-img {
      position: relative;
      width: 100%;
      height: 200px;
      border-radius: 16px 16px 0 0;
      overflow: hidden; /* clips the image only, not the headshot */
      flex-shrink: 0;
      background: linear-gradient(135deg, #1f1147 0%, #7447d6 100%);
    }

    .kc-cases-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    /* Bottom gradient overlay for readability */
    .kc-cases-card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(13,8,38,0) 30%, rgba(13,8,38,0.88) 100%);
      pointer-events: none;
      border-radius: 16px 16px 0 0;
    }

    /* ── HEADSHOT ─────────────────────────────────────────────── */
    /*
      Headshot is a SIBLING of .kc-cases-card-img (not a child),
      positioned absolutely on the card so it cannot be clipped
      by the image container's overflow:hidden.
      It sits at the image/body boundary, half overlapping each.
    */
    .kc-cases-headshot-wrap {
      position: absolute;
      top: calc(200px - 36px); /* 200px image height, offset up by half headshot (72px/2) */
      left: 20px;
      z-index: 10;
    }

    .kc-cases-headshot {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 3px solid #7447d6;
      box-shadow: 0 0 0 3px #0d0826, 0 4px 16px rgba(116,71,214,0.5);
      object-fit: cover;
      object-position: center top;
      display: block;
      background: #1f1147;
    }

    /* ── CARD BODY ────────────────────────────────────────────── */
    .kc-cases-card-body {
      padding: 48px 22px 18px; /* top padding clears the overlapping headshot */
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* Tags */
    .kc-cases-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 14px;
    }

    .kc-cases-tag {
      background: rgba(116,71,214,0.18);
      border: 1px solid rgba(116,71,214,0.35);
      color: #b292fe;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 4px;
    }

    .kc-cases-card-title {
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.3;
      margin: 0 0 6px;
    }

    .kc-cases-business {
      color: #13e1af;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.2px;
      margin-bottom: 12px;
    }

    .kc-cases-summary {
      color: rgba(255,255,255,0.6);
      font-size: 14px;
      line-height: 1.7;
      flex: 1;
      margin-bottom: 20px;
    }

    /* ── STAT STRIP ───────────────────────────────────────────── */
    .kc-cases-stat-strip {
      background: rgba(116,71,214,0.1);
      border-top: 1px solid rgba(116,71,214,0.2);
      border-bottom: 1px solid rgba(116,71,214,0.2);
      padding: 14px 22px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .kc-cases-strip-stat {
      text-align: center;
    }

    .kc-cases-strip-num {
      display: block;
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.5px;
    }

    .kc-cases-strip-lbl {
      display: block;
      color: rgba(255,255,255,0.45);
      font-size: 10px;
      font-weight: 600;
      margin-top: 4px;
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }

    /* ── CARD FOOTER ──────────────────────────────────────────── */
    .kc-cases-card-footer {
      padding: 16px 22px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 0 0 16px 16px;
    }

    .kc-cases-read-link {
      color: #7447d6;
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s ease, color 0.2s ease;
    }

    .kc-cases-card:hover .kc-cases-read-link {
      gap: 10px;
      color: #13e1af;
    }

    .kc-cases-read-arrow {
      font-size: 16px;
      line-height: 1;
    }

    .kc-cases-quote-icon {
      color: rgba(116,71,214,0.3);
      font-size: 44px;
      font-family: Georgia, serif;
      font-weight: 900;
      line-height: 1;
    }

    /* ── BOTTOM CTA ───────────────────────────────────────────── */
    .kc-cases-bottom-cta {
      position: relative;
      overflow: hidden;
      background-image:
        url('https://cwdynamic.com/wp-content/uploads/grid-background-100.webp'),
        linear-gradient(135deg, #1f1147 0%, #7447d6 100%);
      background-size: auto, cover;
      background-repeat: repeat, no-repeat;
      background-blend-mode: soft-light, normal;
    }

    .kc-cases-bottom-cta-inner {
      position: relative;
      z-index: 1;
      max-width: 1000px;
      margin: 0 auto;
      padding: 72px 40px;
      display: flex;
      align-items: center;
      gap: 56px;
    }

    /* Casey's photo */
    .kc-cases-casey-img-wrap {
      flex-shrink: 0;
      width: 180px;
    }

    .kc-cases-casey-img {
      width: 180px !important;
      height: 240px !important;
      object-fit: cover !important;
      object-position: center top !important;
      border-radius: 120px 120px 0 120px !important; /* asymmetric — matches site style */
      border: 3px solid rgba(255,255,255,0.2) !important;
      box-shadow: 0 8px 40px rgba(0,0,0,0.4) !important;
      display: block !important;
      overflow: hidden !important;
    }

    .kc-cases-cta-content {
      flex: 1;
    }

    .kc-cases-cta-title {
      color: #fff;
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.5px;
      margin-bottom: 12px;
    }

    .kc-cases-cta-sub {
      color: rgba(255,255,255,0.72);
      font-size: 17px;
      margin-bottom: 32px!important;
      max-width: 480px;
    }

    .kc-cases-cta-meta {
      color: rgba(255,255,255,0.8) !important;
      font-size: 13px !important;
      margin-top: 20px !important;
      display: block !important;
    }

    .kc-cases-btn {
      display: inline-block !important;
      background: #13e1af !important;
      color: #fff !important;
      font-family: 'Inter', sans-serif !important;
      font-size: 15px !important;
      font-weight: 800 !important;
      padding: 15px 36px !important;
      border-radius: 8px !important;
      text-decoration: none !important;
      letter-spacing: 0.2px !important;
      transition: background 0.2s ease, transform 0.2s ease !important;
    }

    .kc-cases-btn:hover {
      background: #0fcf9f !important;
      color: #fff !important;
      transform: translateY(-2px) !important;
    }

    /* ── SEO BLOCK ────────────────────────────────────────────── */
    .kc-cases-seo {
      background: #080519;
      padding: 56px 24px;
      border-top: 1px solid rgba(116,71,214,0.15);
    }

    .kc-cases-seo-inner {
      max-width: 860px;
      margin: 0 auto;
    }

    .kc-cases-seo-title {
      color: rgba(255,255,255,0.5);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 16px;
    }

    .kc-cases-seo p {
      color: rgba(255,255,255,0.75);
      font-size: 14px;
      line-height: 1.75;
      margin-bottom: 12px;
    }

    .kc-cases-seo a {
      color: white;
    }

    /* ── RESPONSIVE ───────────────────────────────────────────── */
    @media (max-width: 720px) {
      .kc-cases-bottom-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 56px 28px;
        gap: 32px;
      }
      .kc-cases-casey-img-wrap {
        width: 140px;
      }
      .kc-cases-casey-img {
        width: 140px !important;
        height: 186px !important;
        margin: 0 auto !important;
        border-radius: 120px 120px 0 120px !important;
      }
      .kc-cases-cta-sub {
        max-width: 100%;
      }
    }

    @media (max-width: 600px) {
      .kc-cases-hero-stat + .kc-cases-hero-stat {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
      }
      .kc-cases-hero-stats {
        flex-direction: column;
      }
      .kc-cases-grid {
        grid-template-columns: 1fr;
      }
    }/* End custom CSS */