/* ===== Tokens (Madrasat El-Quran style) ===== */
    #mq-kids-courses{
      --ink:#0b1f4a;
      --muted:#6b7280;
      --blue:#2563eb;
      --blue-dark:#1d4ed8;
      --badge:#facc15;
      --badge-text:#92400e;
      --white:#ffffff;
      --r-lg:22px;
      --r-md:18px;
      --pill:999px;
      --shadow-lg:0 26px 60px rgba(15,23,42,.16);
      --shadow-md:0 18px 38px rgba(15,23,42,.14);

      font-family:"Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
      color:var(--ink);
      background:
        radial-gradient(900px 600px at -12% -20%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(950px 550px at 120% -10%, rgba(250,204,21,.10), transparent 52%),
        linear-gradient(180deg,#f9fbff,#eff6ff);
      padding:clamp(52px,7vw,96px) 16px;
      border-top:1px solid rgba(15,23,42,.06);
      position:relative;
      isolation:isolate;
      overflow:hidden;
    }

    /* ===== Heading ===== */
    #mq-kids-courses .head{
      max-width:1120px;
      margin:0 auto clamp(20px,3vw,32px);
      text-align:center;
      position:relative;
      z-index:1;
    }
    #mq-kids-courses .head h1{
      margin:0;
      color:var(--ink);
      font-weight:900;
      line-height:1.12;
      font-size:clamp(26px,3.5vw,40px);
      letter-spacing:.1px;
    }
    #mq-kids-courses .head .sub{
      margin:10px auto 0;
      color:var(--muted);
      font-size:15px;
      max-width:48rem;
      line-height:1.9;
    }
    #mq-kids-courses .head .u{
      width:150px;
      height:6px;
      border-radius:999px;
      background:linear-gradient(90deg,#2563eb,#1d4ed8);
      box-shadow:0 12px 26px rgba(37,99,235,.45);
      margin:14px auto 0;
    }

    /* ===== Grid ===== */
    #mq-kids-courses .wrap{
      max-width:1120px;
      margin:0 auto;
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:clamp(18px,2.7vw,26px);
    }
    @media (max-width:980px){
      #mq-kids-courses .wrap{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
    }
    @media (max-width:640px){
      #mq-kids-courses .wrap{
        grid-template-columns:1fr;
      }
    }

    /* ===== Card ===== */
    #mq-kids-courses .kid-card{
      background:var(--white);
      border-radius:var(--r-lg);
      border:1px solid rgba(148,163,184,.4);
      box-shadow:var(--shadow-lg);
      padding:18px 18px 20px;
      display:flex;
      flex-direction:column;
      gap:10px;
      position:relative;
      overflow:hidden;
      transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    #mq-kids-courses .kid-card::before{
      content:"";
      position:absolute;
      inset:0;
      background:radial-gradient(circle at 0% 0%,rgba(37,99,235,.08),transparent 55%);
      opacity:.8;
      pointer-events:none;
    }
    #mq-kids-courses .kid-card:hover{
      transform:translateY(-4px);
      box-shadow:0 30px 60px rgba(15,23,42,.22);
      border-color:rgba(37,99,235,.55);
    }

    #mq-kids-courses .card-inner{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:auto 1fr;
      gap:12px;
      align-items:flex-start;
    }

    /* Icon circle */
    #mq-kids-courses .icon-wrap{
      width:54px;
      height:54px;
      border-radius:18px;
      background:radial-gradient(circle at 30% 20%,#e0edff,#ffffff);
      border:1px solid rgba(148,163,184,.6);
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:0 14px 28px rgba(15,23,42,.16);
      flex-shrink:0;
    }
    #mq-kids-courses .icon-wrap svg{
      width:30px;
      height:30px;
      stroke:#1d4ed8;
      fill:none;
      stroke-width:1.7;
    }

    /* Badge */
    #mq-kids-courses .badge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding:4px 10px;
      border-radius:var(--pill);
      background:#fef3c7;
      color:var(--badge-text);
      font-size:11px;
      font-weight:600;
      margin-bottom:4px;
      box-shadow:0 10px 20px rgba(180,83,9,.18);
    }
    #mq-kids-courses .badge span.dot{
      width:10px; height:10px;
      border-radius:999px;
      background:linear-gradient(135deg,#facc15,#f97316);
    }

    /* Text */
    #mq-kids-courses .title{
      margin:0 0 4px;
      color:var(--ink);
      font-weight:800;
      font-size:16px;
      line-height:1.4;
    }
    #mq-kids-courses .desc{
      margin:0;
      color:var(--muted);
      font-size:14px;
      line-height:1.9;
    }

    /* CTA link */
    #mq-kids-courses .cta-row{
      margin-top:12px;
      display:flex;
      justify-content:flex-start;
    }
    #mq-kids-courses .cta{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding:8px 12px;
      border-radius:var(--pill);
      background:#eef2ff;
      color:#1d4ed8;
      font-size:13px;
      font-weight:700;
      text-decoration:none;
      transition:background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
    }
    #mq-kids-courses .cta svg{
      width:15px; height:15px;
      stroke:currentColor;
      fill:none;
      stroke-width:1.8;
    }
    #mq-kids-courses .cta:hover{
      background:linear-gradient(135deg,#2563eb,#1d4ed8);
      color:#ffffff;
      box-shadow:0 14px 26px rgba(37,99,235,.55);
      transform:translateY(-1px);
    }