
/* ==========================================================================
   LDEM — Customization Guide
   All rules are scoped under .ldc so this block can be pasted into a page
   editor without touching the site's global styles.
   ========================================================================== */
.ldc{
  /* Palette taken from ldemaxialfan.com's own live pages
     (/pages/about-us, /pages/faq, /pages/contact-us).
     #1f4e79 is the site's brand accent — the About page uses
     border-top:4px solid #1f4e79 and the #102a43 -> #1f4e79 gradient.
     The site uses no warm colours anywhere, so no gold accent is used here. */
  --ink:#1F4E79;
  
  
  --line:#dfe5eb;
  --line-strong:#dce6ef;
  --muted:#65758a;
  --body:#27313d;
  --bg:#f7f9fb;
  --card:#ffffff;
  --radius:14px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans",sans-serif;
  font-size:16px;
  line-height:1.72;
  color:var(--body);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.ldc *,.ldc *::before,.ldc *::after{box-sizing:border-box;}
.ldc h1,.ldc h2,.ldc h3,.ldc p,.ldc ul,.ldc ol,.ldc li,.ldc dl,.ldc dt,.ldc dd,.ldc table,.ldc figure{margin:0;}
.ldc ul,.ldc ol{padding:0;}
.ldc ul,.ldc ol{list-style:none;}
.ldc em{font-style:normal;}
.ldc strong{font-weight:700;color:var(--ink);}
.ldc a{color:var(--ink);text-decoration:none;}
.ldc a:hover{text-decoration:underline;}

/* ---------- Hero ---------- */
.ldc-hero{
  background:var(--ink);
  background-image:
    radial-gradient(1100px 420px at 88% -10%,rgba(71,122,156,.45),transparent 62%),
    radial-gradient(760px 320px at 4% 106%,rgba(16,42,67,.55),transparent 60%);
  color:#fff;
  padding:72px 24px 0;
}
.ldc-hero-in{max-width:1140px;margin:0 auto;}
.ldc-hero h1{
  margin:0;
  font-size:clamp(30px,4.1vw,50px);
  line-height:1.16;
  font-weight:750;
  letter-spacing:-.015em;
  max-width:26ch;
}
.ldc-hero .ldc-lede{
  margin:20px 0 0;max-width:70ch;font-size:clamp(15px,1.35vw,18px);
  color:#eaf2f8;line-height:1.75;
}
.ldc-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  margin:44px 0 0;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.16);
  border-bottom:0;border-radius:var(--radius) var(--radius) 0 0;overflow:hidden;
}
.ldc-stats div{background:rgba(255,255,255,.055);padding:22px 20px;}
.ldc-stats b{display:block;font-size:clamp(18px,2vw,25px);font-weight:750;letter-spacing:-.01em;}
.ldc.ldc .ldc-stats span{display:block;margin-top:6px;font-size:12.5px;line-height:1.45;color:#b9d2e7;}

/* ---------- Shell ---------- */
.ldc-body{max-width:1140px;margin:0 auto;padding:0 24px 72px;}
.ldc-sec{padding:56px 0 0;}
.ldc-sec-head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line);}
/* The theme ships .editor_txt span,.editor_txt strong{color:inherit;font-size:inherit;
   font-family:inherit} at (0,1,1). Every single-class rule of mine sitting on a <span>
   therefore LOSES and the span silently inherits the body ink. That is why the 01–10
   section numbers rendered #27313d instead of the brand blue, and why the 01–04 step
   numbers rendered #27313d on a blue block (near-invisible) instead of white.
   Every span rule below is re-asserted as .ldc.ldc … (0,2,0)+ so it outranks the theme. */
.ldc.ldc .ldc-num{
  font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.ldc-sec h2{font-size:clamp(20px,2.3vw,27px);font-weight:730;letter-spacing:-.01em;color:var(--ink);line-height:1.3;}
.ldc .ldc-sec-note{margin:16px 0 0;color:var(--muted);max-width:78ch;}

/* ---------- Cards ---------- */
.ldc-grid{display:grid;gap:18px;margin-top:26px;}
.ldc-grid.g5{grid-template-columns:repeat(auto-fit,minmax(min(285px,100%),1fr));}
.ldc-grid.g2{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));}
.ldc-grid.g3{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));}
.ldc-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px 22px;position:relative;
}
.ldc-card::before{
  content:"";position:absolute;left:22px;top:0;width:34px;height:3px;
  background:var(--ink);border-radius:0 0 3px 3px;
}
.ldc-card h3{margin-top:14px;font-size:16.5px;font-weight:700;color:var(--ink);letter-spacing:-.005em;}
.ldc-card h3 .ldc-tag{
  display:inline-block;margin-left:8px;font-size:11px;font-weight:600;letter-spacing:.08em;
  color:var(--muted);text-transform:uppercase;vertical-align:2px;
}
.ldc-card ul{margin-top:12px;display:grid;gap:9px;}
.ldc-li{position:relative;padding-left:16px;font-size:16px;line-height:1.62;color:#4f5b68;}
.ldc-li::before{
  content:"";position:absolute;left:0;top:.63em;width:5px;height:5px;border-radius:1px;
  background:var(--ink);opacity:.55;
}
.ldc-li b{font-weight:650;color:var(--ink);}

/* ---------- Tables ---------- */
.ldc-tablewrap{margin-top:26px;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);}
.ldc table{width:100%;border-collapse:collapse;min-width:720px;}
/* The theme ships .editor_txt caption{border:1px #ddd dashed;border-bottom:0} (0,1,1).
   Doubling the class wins outright, and border:0 removes the dashed box that was
   drawing square corners inside the rounded frame. */
.ldc.ldc caption{
  caption-side:top;text-align:left;padding:18px 22px 0;font-size:13px;font-weight:650;
  letter-spacing:.02em;color:var(--muted);border:0;background:transparent;
}
.ldc th,.ldc td{padding:15px 20px;text-align:left;vertical-align:top;font-size:16px;line-height:1.6;border-bottom:1px solid var(--line);}
.ldc thead th{
  background:var(--ink);color:#fff;font-size:12.5px;font-weight:650;
  letter-spacing:.07em;text-transform:uppercase;border-bottom:0;white-space:nowrap;
}
.ldc thead th:first-child{border-top-left-radius:var(--radius);}
.ldc thead th:last-child{border-top-right-radius:var(--radius);}
.ldc tbody tr:nth-child(even) td{background:#f8fafc;}
.ldc tbody tr:last-child td{border-bottom:0;}
/* The theme also ships three (0,3,2) rules —
   .editor_txt table:not([border="0"]):not([style*=border-width]) td/th {border-width:1px}
   … the same for border-style:solid and border-color:#ccc —
   which outrank .ldc th,.ldc td (0,1,1) and paint a full #ccc grid over the design,
   vertical column rules included. Four classes (0,4,2) outrank them outright. */
.ldc.ldc.ldc.ldc table th,.ldc.ldc.ldc.ldc table td{border:0;border-bottom:1px solid var(--line);}
.ldc.ldc.ldc.ldc table thead th{border-bottom:0;}
.ldc.ldc.ldc.ldc table tbody tr:last-child td{border-bottom:0;}
.ldc td:first-child{font-weight:650;color:var(--ink);}
.ldc .ldc-pill{
  display:inline-block;padding:3px 10px;border-radius:999px;font-size:14px;font-weight:650;
  background:var(--ink);color:#fff;border:1px solid var(--ink);white-space:nowrap;
}
.ldc .ldc-pill.ink{background:#edf3f8;color:var(--ink);border-color:#dce6ef;}
/* The Ueeshop editor wraps every table in a div.editor_table_wrap, and the theme
   ships .editor_txt .editor_table_wrap{overflow-x:auto;padding-bottom:10px} with it.
   Neutralise that here: the scroll container is .ldc-tablewrap. */
.ldc.ldc .editor_table_wrap{width:100%;overflow:visible;padding-bottom:0;}

/* ---------- Notes ---------- */
.ldc-note{
  margin-top:16px;padding:16px 20px;border-radius:12px;
  background:#edf3f8;border:1px solid #dce6ef;border-left:4px solid var(--ink);
}
.ldc-note h3{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);}
.ldc-note ul{margin-top:10px;display:grid;gap:8px;}
.ldc-note .ldc-li::before{background:var(--ink);opacity:.85;}

/* ---------- Process timeline ---------- */
.ldc-steps{margin-top:28px;display:grid;gap:0;counter-reset:s;}
.ldc-step{
  display:grid;grid-template-columns:60px 1fr;gap:20px;
  padding:20px 0;border-top:1px solid var(--line);
}
.ldc-step:last-child{border-bottom:1px solid var(--line);}
.ldc.ldc .ldc-step-n{
  counter-increment:s;width:40px;height:40px;border-radius:11px;
  background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;
}
.ldc.ldc .ldc-step-n::before{content:counter(s,decimal-leading-zero);color:#fff;}
.ldc-step h3{font-size:16.5px;font-weight:680;color:var(--ink);}
.ldc-step p{margin-top:6px;color:#5b6572;font-size:16px;}
.ldc-step .ldc-when{
  display:inline-block;margin-top:9px;font-size:13.5px;font-weight:650;color:var(--ink);
  background:#edf3f8;border:1px solid #dce6ef;border-radius:7px;padding:4px 10px;
}

/* ---------- Split panels ---------- */
.ldc-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:18px;margin-top:26px;}
.ldc-panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.ldc-panel > h3{
  padding:16px 22px;font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  background:var(--ink);color:#fff;
}
.ldc-panel.outline > h3{background:#edf3f8;color:var(--ink);border-bottom:1px solid var(--line);}
.ldc-panel-body{padding:20px 22px 22px;}
.ldc .ldc-panel-body > * + *{margin-top:14px;}
.ldc-sub{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);}
.ldc-panel-body ul{display:grid;gap:9px;}
.ldc-doc{display:grid;gap:10px;}
.ldc-doc li{position:relative;padding-left:26px;font-size:16px;color:#4f5b68;}
.ldc-doc li::before{
  content:"";position:absolute;left:2px;top:.5em;width:11px;height:6px;
  border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);
  transform:rotate(-45deg);transform-origin:left center;
}

/* ---------- Key-value list ---------- */
.ldc .ldc-kv{margin-top:26px;display:grid;gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);}
.ldc-kv > div{display:grid;grid-template-columns:230px 1fr;gap:24px;padding:16px 22px;border-bottom:1px solid var(--line);}
.ldc-kv > div:last-child{border-bottom:0;}
.ldc-kv > div:nth-child(even){background:#f8fafc;}
.ldc-kv .ldc-kvk{font-size:16px;font-weight:680;color:var(--ink);}
.ldc-kv .ldc-kvv{font-size:16px;color:#4f5b68;}

/* ---------- FAQ ---------- */
.ldc-faq{margin-top:26px;display:grid;gap:12px;}
.ldc-faq details{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:0 22px;transition:border-color .18s ease;
}
.ldc-faq details[open]{border-color:var(--line-strong);}
.ldc-faq summary{
  cursor:pointer;list-style:none;padding:19px 34px 19px 0;position:relative;
  font-size:16.5px;font-weight:680;color:var(--ink);line-height:1.5;
}
.ldc-faq summary::-webkit-details-marker{display:none;}
.ldc-faq summary::after{
  content:"";position:absolute;right:2px;top:50%;width:9px;height:9px;
  border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);
  transform:translateY(-70%) rotate(45deg);transition:transform .2s ease;
}
.ldc-faq details[open] summary::after{transform:translateY(-30%) rotate(225deg);}
.ldc-faq .ldc-answer{padding:0 0 20px;border-top:1px dashed var(--line);margin-top:2px;padding-top:16px;}
.ldc-faq .ldc-answer p{font-size:16px;color:#4f5b68;}
.ldc-faq .ldc-answer p + p{margin-top:10px;}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .ldc-stats{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .ldc-hero{padding:44px 18px 0;}
  .ldc-body{padding:0 18px 56px;}
  .ldc-sec{padding:42px 0 0;}
  .ldc-kv > div{grid-template-columns:1fr;gap:6px;}
  .ldc-step{grid-template-columns:44px 1fr;gap:14px;}
  .ldc.ldc .ldc-step-n{width:36px;height:36px;font-size:14px;}
  .ldc-card{padding:20px 18px;}
  .ldc-faq details{padding:0 18px;}
  .ldc-panel > h3{padding:14px 18px;}
  .ldc-panel-body{padding:18px;}
}
@media print{
  .ldc{background:#fff;}
  .ldc-hero{background:#fff;color:#000;}
  .ldc-hero .ldc-lede,.ldc.ldc .ldc-stats span{color:#333;}
  .ldc-faq details{break-inside:avoid;}
  .ldc-faq .ldc-answer{display:block !important;}
}

/* ---------- link affordance ---------- */
/* Do NOT use .ldc-sub for a "See also" row inside an answer: the theme rule
   .ldc-faq .ldc-answer p (0,3,1) overrides its font-size and colour, but does NOT
   override text-transform:uppercase, which turns the whole line into shouting caps.
   A 4-class selector is needed to take the properties back. */
.ldc.ldc .ldc-answer .ldc-seealso{font-size:15px;line-height:1.62;color:var(--muted);margin-top:12px;}

/* ---------- Closing CTA ---------- */
.ldc.ldc .ldc-cta{
  display:flex;flex-wrap:wrap;gap:26px 40px;align-items:center;justify-content:space-between;
  background:var(--ink);border-radius:var(--radius);padding:36px 40px;
}
.ldc.ldc .ldc-cta .ldc-cta-txt{flex:1 1 420px;min-width:0;}
.ldc.ldc .ldc-cta .ldc-num{display:block;margin-bottom:10px;color:#b9d2e7;}
.ldc.ldc .ldc-cta h2{color:#fff;font-size:clamp(20px,2.3vw,26px);line-height:1.3;}
.ldc.ldc .ldc-cta p{color:#c9dcec;font-size:16px;line-height:1.62;margin-top:12px;max-width:74ch;}
.ldc.ldc .ldc-cta .ldc-cta-btn{flex:0 0 auto;margin:0;max-width:none;}
.ldc.ldc .ldc-cta .ldc-cta-btn a{
  display:inline-block;background:#fff;color:var(--ink);border:1px solid #fff;border-radius:999px;
  padding:15px 34px;font-size:16px;font-weight:700;text-decoration:none;white-space:nowrap;
}
.ldc.ldc .ldc-cta .ldc-cta-btn a:hover{background:#e8f0f7;text-decoration:none;}
@media (max-width:640px){
  .ldc.ldc .ldc-cta{padding:28px 22px;}
  .ldc.ldc .ldc-cta .ldc-cta-btn{flex:1 1 100%;}
  .ldc.ldc .ldc-cta .ldc-cta-btn a{display:block;text-align:center;}
}
@media print{
  .ldc.ldc .ldc-cta{background:#fff;border:1px solid var(--line);}
  .ldc.ldc .ldc-cta .ldc-num,
  .ldc.ldc .ldc-cta h2{color:var(--ink);}
  .ldc.ldc .ldc-cta p{color:#333;}
  .ldc.ldc .ldc-cta .ldc-cta-btn a{background:#fff;color:var(--ink);border-color:var(--ink);}
}
.ldc.ldc table a,
.ldc.ldc .ldc-note a,
.ldc.ldc .ldc-answer a{ text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:3px;text-decoration-color:#6690aa; }
.ldc.ldc table a:hover,
.ldc.ldc .ldc-note a:hover,
.ldc.ldc .ldc-answer a:hover{ text-decoration-color:var(--ink); }
