/* ==========================================================================
   تم «کلاسیک» سربرگ — طرح قبلی، پیش از هویت بصری جدید.
   با `config.company.letterheadTheme = 'classic'` فعال می‌شود.

   فقط تفاوت‌ها اینجاست؛ اسکلت صفحه، بدنه، بلوک امضا و قواعد چاپ همچنان از
   letterhead.css می‌آید. سلکتورها با `.theme-classic` مقید شده‌اند تا
   specificity آنها (۰,۳,۰) بر قوانین بدون قید تم (۰,۱,۰) غالب شود.
   ========================================================================== */

.lh2-page.theme-classic{
  --lh-steel:#0E2E45;
  --lh-steel-2:#1A5A75;
  --lh-bronze:#E67817;
  color:var(--lh-ink);
}

/* ---------- سربرگ: نشان + نام شرکت سمت راست، جعبه شماره سمت چپ ---------- */
.lh2-page.theme-classic .lh2-head{padding:16mm 18mm 0 18mm; gap:10mm;}
.lh2-page.theme-classic .lh2-brand{display:flex; align-items:center; gap:6mm;}
.lh2-page.theme-classic .lh2-mark{width:24mm; height:24mm; flex:none; display:block;}
.lh2-page.theme-classic .lh2-name{
  font-size:5.4mm; font-weight:800; letter-spacing:-.02em;
  color:var(--lh-steel); line-height:1.2; white-space:nowrap;
}
.lh2-page.theme-classic .lh2-latin{margin-top:2mm; direction:ltr; text-align:right;}
.lh2-page.theme-classic .lh2-latin-co{
  font-size:3mm; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--lh-steel-2); line-height:normal;
}

/* جعبه شماره/تاریخ/پیوست با خط جداکننده بین ردیف‌ها */
.lh2-page.theme-classic .lh2-meta{
  flex:none; width:44mm; padding-top:2mm; font-size:3.1mm; color:var(--lh-muted);
}
.lh2-page.theme-classic .lh2-meta div{
  display:flex; align-items:baseline; gap:2mm;
  padding-bottom:1.6mm; margin-bottom:1.6mm; border-bottom:.5pt solid var(--lh-hair);
}
.lh2-page.theme-classic .lh2-meta div:last-child{
  border-bottom:0; margin-bottom:0; padding-bottom:0;
}
.lh2-page.theme-classic .lh2-meta b{font-weight:600; color:var(--lh-steel); flex:none; width:auto;}
.lh2-page.theme-classic .lh2-meta span{flex:1;}

/* ---------- خط سه‌لایه زیر سربرگ (خط + دندانه + لهجه برنزی) ---------- */
.lh2-page.theme-classic .lh2-rule{height:auto; margin:7mm 18mm 0 18mm; position:static;}
.lh2-page.theme-classic .lh2-rule-line{
  position:static; height:.6pt; background:var(--lh-steel); opacity:.55; inset:auto;
}
.lh2-page.theme-classic .lh2-rule-ticks{
  height:2.6mm; margin-top:0;
  background:repeating-linear-gradient(to left, var(--lh-steel) 0 .6pt, transparent .6pt 2.6mm);
  -webkit-mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.25) 42%,transparent 68%);
          mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.25) 42%,transparent 68%);
  opacity:.75;
}
.lh2-page.theme-classic .lh2-rule-accent{
  width:26mm; height:1.1mm; background:var(--lh-bronze); margin-top:-2.6mm;
}

/* ---------- بدنه: بسم‌الله پررنگ و نوار موضوع رنگی (شکل قدیمی) ---------- */
.lh2-page.theme-classic .lh2-body{padding:10mm 18mm 12mm 18mm;}
.lh2-page.theme-classic .lh2-basmala{
  font-size:3.6mm; font-weight:700; color:var(--lh-steel); margin-bottom:8mm;
}
.lh2-page.theme-classic .lh2-to{color:var(--lh-steel);}
.lh2-page.theme-classic .lh2-subject{
  margin:4mm 0 6mm 0; padding:2.6mm 4mm;
  background:#F7F9FA; border-right:.9mm solid var(--lh-steel); border-bottom:0;
  border-radius:1mm; font-size:3.6mm; font-weight:600; color:var(--lh-steel);
}

/* ---------- فوتر: یک خط مو + ردیف اطلاعات تماس با جداکننده ---------- */
.lh2-page.theme-classic .lh2-foot{
  display:block; padding:0 18mm 12mm 18mm; margin-top:auto;
}
.lh2-page.theme-classic .lh2-foot-line{
  height:.6pt; background:var(--lh-hair); margin-bottom:4mm;
}
.lh2-page.theme-classic .lh2-foot-row{
  display:flex; flex-wrap:wrap; justify-content:center; gap:2mm 5mm;
  font-size:2.9mm; color:var(--lh-muted);
}
.lh2-page.theme-classic .lh2-foot-row i{
  font-style:normal; color:var(--lh-bronze); font-weight:700;
}
.lh2-page.theme-classic .lh2-foot-row .lh2-sep{color:var(--lh-hair);}

/* کادر عکس ۳×۴ در طرح قدیمی بالای صفحه بود، نه زیر سربرگ */
.lh2-page.theme-classic .lh2-photo-box{top:16mm; left:18mm;}
