

  /* ===========================

     SOFTMINING MASTER PAGE

     Elementor-safe + scoped CSS

     Prefix: .sm2-

     =========================== */



  .sm2{

    --bg: #f7f8fb;

    --card: #ffffff;

    --card2: #fbfbfe;

    --text: #111827;

    --muted:#4b5563;

    --line: #e5e7eb;

    --accent:#0ea5e9;

    --accent2:#7c3aed;

    --shadow: 0 10px 30px rgba(17,24,39,.10);

    --radius: 16px;

    --radius2: 22px;

    --max: 1120px;



    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";

    color: var(--text);

    line-height: 1.55;

  }



  .sm2 *{ box-sizing: border-box; }



  /* Background inside widget (NOT html/body) */

  .sm2-surface{

    min-height: 100%;

    background:

      radial-gradient(1100px 700px at 15% 0%, rgba(14,165,233,.10), transparent 55%),

      radial-gradient(1000px 700px at 90% 10%, rgba(124,58,237,.10), transparent 55%),

      linear-gradient(180deg, var(--bg) 0%, #ffffff 40%, var(--bg) 100%);

    background-repeat: no-repeat;

    background-size: cover;

    border-radius: 24px;

    padding: 20px 14px 56px;

  }



  .sm2 a{ color: var(--accent); text-decoration:none; }

  .sm2 a:hover{ text-decoration:underline; }



  .sm2-wrap{ max-width: var(--max); margin:0 auto; }



  /* HEADER */

  .sm2-header{

    border:1px solid var(--line);

    background: linear-gradient(180deg, #ffffff, var(--card2));

    border-radius: var(--radius2);

    box-shadow: var(--shadow);

    overflow:hidden;

  }



  .sm2-hero{

    display:grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 16px;

    padding: 18px;

    align-items: start;

  }

  @media (max-width: 900px){

    .sm2-hero{ grid-template-columns: 1fr; }

  }



  .sm2-kicker{

    display:inline-flex;

    gap:10px;

    align-items:center;

    padding: 8px 12px;

    border-radius: 999px;

    border:1px solid var(--line);

    background: #ffffff;

    color: var(--muted);

    font-size: 13px;

    width: fit-content;

  }



  .sm2-dot{

    width:9px;height:9px;border-radius:999px;

    background: linear-gradient(135deg, var(--accent), var(--accent2));

    box-shadow: 0 0 0 4px rgba(14,165,233,.10);

  }



  .sm2 h1{

    margin:12px 0 10px;

    font-size: clamp(24px, 3.5vw, 40px);

    line-height:1.12;

    letter-spacing: -0.3px;

  }



  .sm2-subtitle{

    margin: 0 0 12px;

    color: var(--muted);

    font-size: 15.5px;

    max-width: 70ch;

  }



  .sm2-badges{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top: 10px;

  }

  .sm2-badge{

    border:1px solid var(--line);

    background: #ffffff;

    padding:8px 10px;

    border-radius: 999px;

    font-size: 13px;

    color: var(--muted);

    display:inline-flex;

    gap:8px;

    align-items:center;

  }

  .sm2-badge strong{ color: var(--text); font-weight: 650; }



  .sm2-cta{

    display:flex;

    flex-wrap:wrap;

    gap: 10px;

    margin-top: 14px;

  }

  .sm2-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding: 11px 14px;

    border-radius: 12px;

    border:1px solid var(--line);

    background: #ffffff;

    color: var(--text);

    font-weight: 650;

    box-shadow: 0 6px 16px rgba(17,24,39,.08);

    cursor:pointer;

  }

  .sm2-btn:hover{ background: #f3f4f6; text-decoration:none; }

  .sm2-btn.primary{

    border-color: rgba(14,165,233,.35);

    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(124,58,237,.10));

  }

  .sm2-side{ display:grid; gap:12px; }



  .sm2-card{

    border:1px solid var(--line);

    background: var(--card);

    border-radius: var(--radius);

    padding: 14px;

    box-shadow: 0 6px 18px rgba(17,24,39,.06);

  }



  .sm2-card h3{

    margin:0 0 8px;

    font-size: 13px;

    letter-spacing:.25px;

    color: #6b7280;

    font-weight: 800;

    text-transform: uppercase;

  }



  .sm2-pillbox{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top: 10px;

  }

  .sm2-pill{

    padding: 8px 10px;

    border-radius: 999px;

    border:1px solid var(--line);

    background: var(--card2);

    color: var(--muted);

    font-size: 13px;

  }



  .sm2-kv{

    display:grid;

    gap:10px;

    margin-top: 8px;

  }

  .sm2-kv div{

    display:flex;

    justify-content:space-between;

    gap: 12px;

    border-bottom:1px dashed var(--line);

    padding-bottom:8px;

  }

  .sm2-kv div:last-child{ border-bottom:none; padding-bottom:0; }

  .sm2-kv span{ color: var(--muted); }

  .sm2-kv strong{ font-weight: 700; }



  /* HERO IMAGE */

  .sm2-heroimg{

    padding: 0 18px 18px;

    border-top: 1px solid var(--line);

    background: #ffffff;

  }

  .sm2-heroimg figure{

    margin:0;

    border:1px solid var(--line);

    background: #ffffff;

    border-radius: var(--radius);

    overflow:hidden;

    box-shadow: 0 6px 18px rgba(17,24,39,.06);

  }

  .sm2-heroimg img{

    width:100%;

    height: 220px;

    object-fit: cover;

    object-position: center;

    display:block;

  }



  /* NEWS */

  .sm2-news{

    border:1px solid rgba(14,165,233,.55);

    background: linear-gradient(135deg, rgba(14,165,233,.14), rgba(124,58,237,.10));

    border-left: 6px solid var(--accent);

    border-radius: 16px;

    padding: 12px 14px;

    box-shadow: 0 10px 26px rgba(14,165,233,.12);

    margin-top: 12px;

  }

  .sm2-news-h{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    margin-bottom: 6px;

  }

  .sm2-news-title{

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight: 800;

    letter-spacing: .2px;

  }

  .sm2-news-dot{

    width:10px;height:10px;border-radius:999px;

    background: linear-gradient(135deg, var(--accent), var(--accent2));

    box-shadow: 0 0 0 4px rgba(14,165,233,.14);

  }

  .sm2-news-tag{

    padding:6px 10px;

    border-radius:999px;

    border:1px solid rgba(17,24,39,.10);

    background: rgba(255,255,255,.75);

    color: var(--muted);

    font-size: 12.5px;

    font-weight: 700;

    white-space:nowrap;

  }

  .sm2-news p{

    margin:0;

    color: var(--text);

    font-size: 14.5px;

  }

  .sm2-news b{ font-weight: 800; }



  /* MAIN */

  .sm2-main{ margin-top: 18px; }



  .sm2-section{

    margin-top: 14px;

    border:1px solid var(--line);

    background: #ffffff;

    border-radius: var(--radius2);

    box-shadow: var(--shadow);

    overflow:hidden;

  }



  .sm2-sec-h{

    padding: 14px 16px;

    border-bottom:1px solid var(--line);

    background: linear-gradient(180deg, var(--card2), #ffffff);

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap: 10px;

  }

  .sm2-sec-h h2{

    margin:0;

    font-size: 16px;

    letter-spacing:.2px;

  }

  .sm2-sec-h p{ margin:0; color: var(--muted); font-size: 13px; }



  .sm2-sec-b{ padding: 16px; }



  .sm2-grid{

    display:grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

  }

  @media (max-width: 900px){ .sm2-grid{ grid-template-columns: 1fr; } }



  .sm2 ul{ margin: 10px 0 0 18px; color: var(--muted); }

  .sm2 li{ margin: 6px 0; }



  .sm2-note{

    padding: 12px 12px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background: var(--card2);

    color: var(--muted);

    font-size: 14px;

  }



  .sm2-miniimg{

    width:100%;

    height: 160px;

    object-fit: cover;

    object-position: center;

    border-radius: 14px;

    border: 1px solid var(--line);

    display:block;

    margin-top: 12px;

  }



  /* Logo wall */

  .sm2-logowall{

    display:grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap:12px;

    padding: 14px;

    background: var(--card2);

    border-top: 1px solid var(--line);

    border-radius: 14px;

  }

  @media (max-width: 900px){ .sm2-logowall{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  @media (max-width: 520px){ .sm2-logowall{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }



  .sm2-logo{

    border:1px solid var(--line);

    background:#fff;

    border-radius: 14px;

    height: 74px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding: 10px;

    box-shadow: 0 6px 16px rgba(17,24,39,.06);

    transition: transform .12s ease, box-shadow .12s ease;

  }

  .sm2-logo img{

    width: 100%;

    height: 100%;

    object-fit: contain;

    display:block;

  }

  .sm2-logo:hover{

    transform: translateY(-1px);

    box-shadow: 0 10px 20px rgba(17,24,39,.10);

  }



  /* Footer */

  .sm2-footer{

    margin-top: 18px;

    color: var(--muted);

    font-size: 12.5px;

    text-align:center;

    padding: 14px 8px 0;

  }



  /* Everest Forms styling (matches your design) */

  .sm2 .everest-forms .evf-field input,

  .sm2 .everest-forms .evf-field textarea,

  .sm2 .everest-forms .evf-field select{

    border: 1px solid var(--line);

    border-radius: 12px;

    padding: 12px;

    background: #ffffff;

    font-family: inherit;

  }



  .sm2 .everest-forms .evf-submit{

    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(124,58,237,.10));

    border: 1px solid rgba(14,165,233,.35);

    border-radius: 12px;

    font-weight: 700;

    padding: 12px 16px;

    cursor: pointer;

  }

