.elementor-1502 .elementor-element.elementor-element-17fea86{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-704fb23 *//* =========================================================
   Digital Mind Metrics - Premium Article UI/UX
   Usage: Wrap the article body with class="dmm-article"
   ========================================================= */

:root{
  --dmm-bg: #ffffff;
  --dmm-surface: #f7f8fa;
  --dmm-surface-2: #f1f3f6;
  --dmm-border: rgba(15, 23, 42, 0.12);
  --dmm-text: #0f172a;
  --dmm-muted: rgba(15, 23, 42, 0.74);
  --dmm-soft: rgba(15, 23, 42, 0.08);

  --dmm-accent: #2563eb;       /* blue */
  --dmm-accent-2: #7c3aed;     /* purple */
  --dmm-success: #16a34a;
  --dmm-warning: #f59e0b;

  --dmm-radius: 18px;
  --dmm-radius-sm: 12px;

  --dmm-shadow: 0 10px 30px rgba(2, 6, 23, 0.10);
  --dmm-shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.08);

  --dmm-max: 920px;
  --dmm-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --dmm-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --dmm-fs: clamp(16px, 1.1vw, 18px);
  --dmm-lh: 1.75;
}

/* Optional: auto dark mode (safe + subtle) */
@media (prefers-color-scheme: dark){
  :root{
    --dmm-bg: #0b1220;
    --dmm-surface: #0f1a2e;
    --dmm-surface-2: #111f36;
    --dmm-border: rgba(226, 232, 240, 0.14);
    --dmm-text: #e6edf7;
    --dmm-muted: rgba(230, 237, 247, 0.74);
    --dmm-soft: rgba(226, 232, 240, 0.10);
    --dmm-shadow: 0 12px 34px rgba(0,0,0,0.35);
    --dmm-shadow-sm: 0 8px 20px rgba(0,0,0,0.25);
  }
}

/* ---------------------------------------------------------
   Base container
--------------------------------------------------------- */
.dmm-article{
  font-family: var(--dmm-font);
  font-size: var(--dmm-fs);
  line-height: var(--dmm-lh);
  color: var(--dmm-text);
  background: transparent;
  max-width: var(--dmm-max);
  margin: 0 auto;
  padding: clamp(10px, 2vw, 22px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improve anchor jumps when sticky headers exist */
.dmm-article [id]{
  scroll-margin-top: 90px;
}

.dmm-article p{
  margin: 0 0 1.05em;
  color: var(--dmm-text);
}

.dmm-article .dmm-muted,
.dmm-article p small{
  color: var(--dmm-muted);
}

/* ---------------------------------------------------------
   Headings
--------------------------------------------------------- */
.dmm-article h2,
.dmm-article h3,
.dmm-article h4{
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 1.4em 0 0.55em;
}

.dmm-article h2{
  font-size: clamp(22px, 1.6vw, 30px);
}

.dmm-article h3{
  font-size: clamp(18px, 1.25vw, 22px);
}

.dmm-article h4{
  font-size: clamp(16px, 1.1vw, 18px);
}

.dmm-article h2:after{
  content:"";
  display:block;
  width: 54px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dmm-accent), var(--dmm-accent-2));
  opacity: 0.85;
}

/* ---------------------------------------------------------
   Links + focus
--------------------------------------------------------- */
.dmm-article a{
  color: var(--dmm-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: opacity .18s ease, transform .18s ease;
}

.dmm-article a:hover{
  opacity: 0.9;
}

.dmm-article a:focus-visible{
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------------------------------------------------------
   Lists
--------------------------------------------------------- */
.dmm-article ul, .dmm-article ol{
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.dmm-article li{
  margin: 0.35em 0;
}

.dmm-article li::marker{
  color: rgba(37, 99, 235, 0.85);
}

/* ---------------------------------------------------------
   Cards / Callouts (Use: dmm-card, dmm-toc, dmm-takeaways, dmm-note)
--------------------------------------------------------- */
.dmm-article .dmm-card{
  background: linear-gradient(180deg, var(--dmm-surface), transparent 120%);
  border: 1px solid var(--dmm-border);
  border-radius: var(--dmm-radius);
  padding: 18px 18px;
  box-shadow: var(--dmm-shadow-sm);
  margin: 18px 0;
}

.dmm-article .dmm-takeaways{
  position: relative;
  overflow: hidden;
}

.dmm-article .dmm-takeaways:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 200px at 20% 20%, rgba(37,99,235,.25), transparent 55%),
              radial-gradient(600px 220px at 80% 10%, rgba(124,58,237,.18), transparent 55%);
  pointer-events:none;
}

.dmm-article .dmm-takeaways > *{
  position: relative;
}

.dmm-article .dmm-toc{
  background: var(--dmm-bg);
}

.dmm-article .dmm-note{
  border-left: 5px solid rgba(37, 99, 235, 0.65);
  background: linear-gradient(180deg, var(--dmm-surface), transparent 140%);
}

.dmm-article .dmm-card strong{
  font-weight: 700;
}

.dmm-article .dmm-card p:last-child,
.dmm-article .dmm-card ul:last-child,
.dmm-article .dmm-card ol:last-child{
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Figures / Images
--------------------------------------------------------- */
.dmm-article figure{
  margin: 18px 0;
}

.dmm-article figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--dmm-radius);
  border: 1px solid var(--dmm-border);
  box-shadow: var(--dmm-shadow-sm);
  background: var(--dmm-surface);
}

.dmm-article figcaption{
  margin-top: 10px;
  color: var(--dmm-muted);
  font-size: 0.92em;
}

/* ---------------------------------------------------------
   Table styling (Wrap table in .dmm-table-wrap)
--------------------------------------------------------- */
.dmm-article .dmm-table-wrap{
  overflow-x: auto;
  border-radius: var(--dmm-radius);
  border: 1px solid var(--dmm-border);
  background: var(--dmm-bg);
  box-shadow: var(--dmm-shadow-sm);
  margin: 16px 0 22px;
}

.dmm-article table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.dmm-article th,
.dmm-article td{
  padding: 14px 14px;
  border-bottom: 1px solid var(--dmm-border);
  vertical-align: top;
}

.dmm-article th{
  text-align: left;
  font-weight: 700;
  color: var(--dmm-text);
  background: linear-gradient(180deg, var(--dmm-surface), var(--dmm-bg));
}

.dmm-article tr:hover td{
  background: rgba(37, 99, 235, 0.06);
}

.dmm-article code{
  font-family: var(--dmm-mono);
  font-size: 0.95em;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid var(--dmm-border);
}

/* ---------------------------------------------------------
   Blockquote / highlight
--------------------------------------------------------- */
.dmm-article blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 5px solid rgba(124, 58, 237, 0.55);
  border-radius: var(--dmm-radius-sm);
  background: linear-gradient(180deg, var(--dmm-surface), transparent 140%);
  color: var(--dmm-text);
}

/* ---------------------------------------------------------
   FAQ Accordion (Use wrapper class .dmm-faq)
--------------------------------------------------------- */
.dmm-article .dmm-faq details{
  border: 1px solid var(--dmm-border);
  background: var(--dmm-bg);
  border-radius: var(--dmm-radius-sm);
  padding: 12px 14px;
  margin: 10px 0;
  box-shadow: var(--dmm-shadow-sm);
}

.dmm-article .dmm-faq summary{
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.dmm-article .dmm-faq summary::-webkit-details-marker{
  display:none;
}

.dmm-article .dmm-faq summary:after{
  content:"＋";
  font-weight: 800;
  color: var(--dmm-accent);
  transition: transform .18s ease;
}

.dmm-article .dmm-faq details[open] summary:after{
  content:"—";
}

.dmm-article .dmm-faq details p{
  margin: 10px 0 0;
  color: var(--dmm-muted);
}

/* ---------------------------------------------------------
   Buttons (Optional: use .dmm-btn for CTAs)
--------------------------------------------------------- */
.dmm-article .dmm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--dmm-border);
  background: linear-gradient(90deg, var(--dmm-accent), var(--dmm-accent-2));
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--dmm-shadow-sm);
  transition: transform .18s ease, filter .18s ease;
}

.dmm-article .dmm-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.dmm-article .dmm-btn:focus-visible{
  outline: 4px solid rgba(124, 58, 237, 0.35);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Horizontal rule
--------------------------------------------------------- */
.dmm-article hr{
  border: none;
  border-top: 1px solid var(--dmm-border);
  margin: 24px 0;
  opacity: 0.85;
}

/* ---------------------------------------------------------
   Mobile tweaks
--------------------------------------------------------- */
@media (max-width: 680px){
  .dmm-article{
    padding: 12px;
  }
  .dmm-article .dmm-card{
    padding: 14px;
  }
  .dmm-article h2:after{
    width: 44px;
  }
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .dmm-article a,
  .dmm-article .dmm-btn,
  .dmm-article .dmm-faq summary:after{
    transition: none !important;
  }
}/* End custom CSS */