/* =========================================================
   MD MAG — Clean Single Post CSS (mdsp + mdtoc + mdqa)
   - No duplicates
   - No conflicting overrides
   - Staircase indentation via --mdqa-indent (0/15/30/45 then fixed)
========================================================= */

/* =========================
   Tokens
========================= */
:root{
  --md-bg:#f7f7f5;
  --md-surface:#ffffff;
  --md-border:rgba(15,23,42,.10);
  --md-text:#0f172a;
  --md-muted:#475569;

  --md-green:#0f3d2e;
  --md-teal:#1e5c6d;
  --md-gold:#d6b15e;

  --md-radius:18px;
  --md-shadow:0 18px 50px rgba(15,23,42,.08);
}

/* =========================
   Page Shell
========================= */
.mdsp{ background: var(--md-bg); padding: 20px 0 60px; }
.mdsp *{ box-sizing: border-box; }
.mdsp__wrap{ max-width: 1200px; margin:0 auto; padding:0 18px; }

/* Breadcrumb */
.mdsp__crumb{
  display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  font-size: 12.5px; color: rgba(15,23,42,.62);
  margin: 6px 0 14px;
}
.mdsp__crumb a{ color: rgba(15,61,46,.92); text-decoration:none; font-weight:900; }
.mdsp__crumb a:hover{ text-decoration: underline; }
.mdsp__sep{ opacity:.55; }

/* Hero */
.mdsp__hero{ margin-bottom: 16px; }
.mdsp__cover{
  margin:0 0 12px;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--md-border);
  box-shadow: var(--md-shadow);
  background: var(--md-surface);
}
.mdsp__img{ width:100%; height:auto; display:block; }

.mdsp__meta{ display:flex; flex-wrap:wrap; gap:10px; margin: 0 0 10px; }
.mdsp__chip{
  display:inline-flex; align-items:center;
  padding:7px 10px; border-radius:999px;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(214,177,94,.20);
  color: rgba(15,23,42,.74);
  font-weight:900; font-size:12px;
}
.mdsp__chip--muted{ border-color: rgba(15,23,42,.10); color: rgba(15,23,42,.58); }
.mdsp__chip--link{ text-decoration:none; }
.mdsp__chip--link:hover{ background: rgba(15,61,46,.06); }

.mdsp__title{ margin:0 0 8px; font-size: 34px; line-height:1.35; font-weight: 1000; color: var(--md-text); }
.mdsp__excerpt{ margin:0; color: var(--md-muted); line-height:1.95; font-size:15px; max-width: 920px; }

/* Layout grid */
.mdsp__grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items:start;
}

/* Cards */
.mdsp__card{
  background: rgba(255,255,255,.86);
  border:1px solid var(--md-border);
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
  backdrop-filter: blur(10px);
}
.mdsp__side .mdsp__card{ padding: 14px; }
.mdsp__cardTitle{ font-weight:1000; color: var(--md-text); margin-bottom: 10px; }

@media (min-width: 961px){
  .mdsp__side{ position: sticky; top: 88px; align-self:start; }
}

/* Notes */
.mdsp__note{
  padding: 12px;
  border-radius: 14px;
  background: rgba(15,61,46,.06);
  border: 1px solid rgba(15,61,46,.12);
  color: rgba(15,23,42,.70);
  line-height: 1.9;
  font-weight: 800;
  font-size: 12.5px;
}

/* Share */
.mdsp__share{ display:flex; gap:10px; flex-wrap:wrap; }
.mdsp__share a{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 9px 10px;
  border-radius: 12px;
  border:1px solid rgba(30,92,109,.18);
  background: rgba(247,247,245,.85);
  color: rgba(15,23,42,.78);
  text-decoration:none;
  font-weight: 900;
  font-size: 12.5px;
}
.mdsp__share a:hover{ background: rgba(30,92,109,.06); }

/* Content */
.mdsp__content{ padding: 18px 18px; }
.mdsp__content a{ color: rgba(30,92,109,.95); font-weight: 900; }
.mdsp__content a:hover{ text-decoration: underline; }

/* headings spacing */
.mdsp__content h2{
  border-right: 4px solid rgba(214,177,94,.55);
  padding-right: 10px;
  margin-top: 26px;
}
.mdsp__content h3{ margin-top: 20px; }
.mdsp__content h4{ margin-top: 16px; }

/* Images inside content - unify */
.mdsp__content figure,
.mdsp__content .wp-block-image{ margin: 18px 0; }
.mdsp__content img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
@media (max-width: 640px){
  .mdsp__content figure.alignleft,
  .mdsp__content figure.alignright{
    float: none !important;
    margin: 14px 0 !important;
  }
}

/* Tags */
.mdsp__tags{ margin-top: 16px; display:flex; flex-wrap:wrap; gap:10px; }
.mdsp__tag{
  text-decoration:none;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.72);
  font-weight: 900;
  font-size: 12px;
}
.mdsp__tag:hover{ background: rgba(214,177,94,.10); border-color: rgba(214,177,94,.25); }

/* Author */
.mdsp__author{ margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(15,23,42,.14); }
.mdsp__authorTitle{ font-weight:1000; margin-bottom: 10px; }
.mdsp__authorRow{ display:flex; gap:12px; align-items:flex-start; }
.mdsp__avatar{ border-radius: 14px; }
.mdsp__authorName{ font-weight:1000; color: var(--md-text); margin-bottom: 4px; }
.mdsp__authorBio{ color: rgba(15,23,42,.68); line-height: 1.9; font-size: 13px; }

/* Related */
.mdsp__related{ margin-top: 18px; }
.mdsp__h2{ margin: 0 0 10px; font-weight: 1000; font-size: 18px; }

.mdsp__relGrid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mdsp__relCard{
  text-decoration:none;
  border:1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}
.mdsp__relCard:hover{ transform: translateY(-2px); box-shadow: 0 18px 42px rgba(15,23,42,.10); }
.mdsp__relImg{ width:100%; height: 140px; object-fit: cover; display:block; }
.mdsp__relBody{ padding: 10px 10px 12px; }
.mdsp__relTitle{ font-weight: 1000; color: var(--md-text); line-height: 1.75; font-size: 13px; }
.mdsp__relMeta{ margin-top: 6px; color: rgba(15,23,42,.60); font-weight: 900; font-size: 12px; }

/* Responsive */
@media (max-width: 960px){
  .mdsp__grid{ grid-template-columns: 1fr; }
  .mdsp__title{ font-size: 28px; }
  .mdsp__relGrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .mdsp__relGrid{ grid-template-columns: 1fr; }
  .mdsp__relImg{ height: 160px; }
}

/* =========================================================
   TOC (Auto) — Clean
========================================================= */
.mdsp__toc{ padding: 0; }

.mdtoc{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
  overflow: hidden;
}

.mdtoc__list,
.mdtoc__sub{
  list-style: none;
  margin: 0;
  padding: 0;
}

.mdtoc__item{ margin: 6px 0; }

.mdtoc__sub{
  margin-top: 6px;
  padding-right: 12px;
  border-right: 1px dashed rgba(15,23,42,.12);
}

.mdtoc__link{
  display: inline-flex;
  width: 100%;
  gap: 10px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(247,247,245,.75);
  color: rgba(15,23,42,.78);
  font-weight: 900;
  line-height: 1.7;
}
.mdtoc__link:hover{
  background: rgba(30,92,109,.06);
  border-color: rgba(30,92,109,.16);
}
.mdtoc__link.is-active{
  background: linear-gradient(135deg, rgba(30,92,109,.14), rgba(214,177,94,.14));
  border-color: rgba(214,177,94,.25);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

/* Prevent TOC anchor under sticky header */
.mdsp__content h2,
.mdsp__content h3,
.mdsp__content h4{
  scroll-margin-top: 96px;
}

/* =========================================================
   MDQA (Q/A) — Clean + Cloud + Staircase (RTL)
   IMPORTANT: indentation is driven by inline style:
   style="--mdqa-indent: 0/15/30/45px"
========================================================= */

/* Container */
.mdqa{
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(520px 260px at 12% 12%, rgba(30,92,109,.10), transparent 60%),
    radial-gradient(420px 260px at 88% 18%, rgba(214,177,94,.12), transparent 58%),
    rgba(255,255,255,.86);
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}

.mdqa__head{ margin-bottom: 10px; }
.mdqa__title{
  margin:0 0 6px;
  font-weight: 1000;
  font-size: 18px;
  color: #0f172a;
}
.mdqa__sub{
  margin:0;
  color: #475569;
  font-weight: 800;
  line-height: 1.9;
  font-size: 13.5px;
}

.mdqa__empty{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(247,247,245,.95);
  border: 1px dashed rgba(15,23,42,.14);
  color: rgba(15,23,42,.70);
  line-height: 1.9;
  font-weight: 800;
}

/* Notice */
.mdqa__notice{
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  font-weight: 900;
  line-height: 1.9;
  color: rgba(15,23,42,.78);
}
.mdqa__notice--pending{
  border-color: rgba(214,177,94,.30);
  background:
    radial-gradient(520px 240px at 10% 10%, rgba(214,177,94,.12), transparent 60%),
    rgba(255,255,255,.90);
}
.mdqa__notice--ok{
  border-color: rgba(30,92,109,.25);
  background:
    radial-gradient(520px 240px at 10% 10%, rgba(30,92,109,.10), transparent 60%),
    rgba(255,255,255,.90);
}

/* SAFE reset for Woodmart/Theme comment styles — only inside mdqa */
.mdqa ol, .mdqa ul, .mdqa li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.mdqa .comment,
.mdqa .comment-body,
.mdqa .comment-content{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.mdqa img.avatar{
  width: 52px !important;
  height: 52px !important;
  border-radius: 999px !important;
}

/* List must be block (NOT flex) */
.mdqa__list,
.mdqa__list .children{
  display:block !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}
.mdqa__list .children{
  margin-top: 10px !important;
}

/* Item spacing */
.mdqa__item{
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

/* Staircase: move bubble itself using --mdqa-indent */
.mdqa__item > .mdqa__bubble{
  margin-right: var(--mdqa-indent, 0px) !important;
  margin-left: 0 !important;
  width: calc(100% - var(--mdqa-indent, 0px)) !important;

  display:block !important;
  box-sizing:border-box !important;
  float:none !important;
  clear:both !important;
}

/* Bubble (cloud) */
.mdqa__bubble{
  position: relative;
  border-radius: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(700px 320px at 10% 15%, rgba(30,92,109,.10), transparent 60%),
    radial-gradient(600px 300px at 90% 20%, rgba(214,177,94,.12), transparent 58%),
    rgba(255,255,255,.88);
  box-shadow: 0 18px 45px rgba(15,23,42,.07);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.mdqa__bubble:before,
.mdqa__bubble:after{
  content:"";
  position:absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .65;
  pointer-events:none;
}
.mdqa__bubble:before{
  right: -120px;
  top: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(214,177,94,.22), rgba(214,177,94,0) 70%);
}
.mdqa__bubble:after{
  left: -140px;
  bottom: -150px;
  background: radial-gradient(circle at 40% 40%, rgba(30,92,109,.18), rgba(30,92,109,0) 72%);
}

/* Staff bubble */
.mdqa__bubble--staff{
  background:
    radial-gradient(700px 320px at 10% 15%, rgba(214,177,94,.16), transparent 62%),
    radial-gradient(600px 300px at 90% 20%, rgba(30,92,109,.10), transparent 58%),
    rgba(255,255,255,.92);
  border-color: rgba(214,177,94,.22);
}

/* Header row inside bubble */
.mdqa__row{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.mdqa__avatar{ flex: 0 0 auto; }
.mdqa__meta{ min-width: 0; flex: 1 1 auto; }
.mdqa__nameLine{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.mdqa__name{
  font-weight: 1000;
  color: rgba(15,23,42,.90);
}
.mdqa__pill{
  font-size: 11px;
  font-weight: 1000;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214,177,94,.26);
  background: rgba(214,177,94,.10);
  color: rgba(15,23,42,.76);
}
.mdqa__date{
  color: rgba(15,23,42,.55);
  font-weight: 800;
  font-size: 12px;
}
.mdqa__actions{ flex: 0 0 auto; }
.mdqa__actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(30,92,109,.18);
  background: rgba(30,92,109,.06);
  color: rgba(15,23,42,.78);
  font-weight: 1000;
  text-decoration:none;
}
.mdqa__actions a:hover{ background: rgba(30,92,109,.10); }

/* Text */
.mdqa__text{
  margin-top: 10px;
  color: rgba(15,23,42,.78);
  font-weight: 800;
  line-height: 2;
  position: relative;
  z-index: 1;
}

/* Pending label */
.mdqa__pending{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(15,23,42,.16);
  background: rgba(247,247,245,.85);
  color: rgba(15,23,42,.68);
  font-weight: 900;
}

/* Form wrapper */
.mdqa__form{
  margin-top: 14px;
  border-top: 1px dashed rgba(15,23,42,.14);
  padding-top: 14px;
}

/* Form fields (only inside mdqa) */
.mdqa textarea,
.mdqa input[type="text"],
.mdqa input[type="email"]{
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  padding: 10px 12px;
  outline: none;
  font-weight: 800;
  color: rgba(15,23,42,.82);
  box-shadow: none;
}

.mdqa textarea{
  min-height: 130px;
  height: auto;
  line-height: 1.95;
  resize: vertical;
}

.mdqa textarea:focus,
.mdqa input:focus{
  border-color: rgba(30,92,109,.45);
  box-shadow: 0 0 0 4px rgba(30,92,109,.10), 0 0 0 7px rgba(214,177,94,.10);
}

/* Submit button */
.mdqa input[type="submit"],
.mdqa button[type="submit"]{
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(30,92,109,.22);
  background: linear-gradient(135deg, #1e5c6d, #174a56);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.mdqa input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(30,92,109,.22);
}

/* Desktop: author/email two columns if WP outputs standard classes */
@media (min-width: 720px){
  .mdqa form#commentform .comment-form-author,
  .mdqa form#commentform .comment-form-email{
    width: 49%;
    display: inline-block;
    vertical-align: top;
  }
}

/* Mobile: keep it clean */
@media (max-width: 640px){
  .mdqa__row{ align-items:flex-start; }
}
/* =========================
   MDQA FINAL FIX (append at end)
   Staircase: 0 / 15 / 30 / 45 then fixed
========================= */
main.mdsp #mdqa .mdqa__list,
main.mdsp #mdqa .mdqa__list .children{
  display:block !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* اگر جایی قبلاً mdqa__list را flex کرده‌ای، اینجا خنثی می‌شود */
main.mdsp #mdqa .mdqa__list{
  flex-direction:unset !important;
  gap:0 !important;
}

/* هر آیتم */
main.mdsp #mdqa .mdqa__item{
  margin:0 0 14px 0 !important;
  padding:0 !important;
  list-style:none !important;
}

/* مهم: خود bubble باید block باشد و تمام کنترل دست ما باشد */
main.mdsp #mdqa .mdqa__item > article.mdqa__bubble{
  display:block !important;
  float:none !important;
  clear:both !important;
  box-sizing:border-box !important;
  margin-left:0 !important;
}

/* پله‌ها بر اساس depth-* وردپرس */
main.mdsp #mdqa .mdqa__item.depth-1 > article.mdqa__bubble{
  margin-right:0 !important;
  width:100% !important;
}

main.mdsp #mdqa .mdqa__item.depth-2 > article.mdqa__bubble{
  margin-right:15px !important;
  width:calc(100% - 15px) !important;
}

main.mdsp #mdqa .mdqa__item.depth-3 > article.mdqa__bubble{
  margin-right:30px !important;
  width:calc(100% - 30px) !important;
}

main.mdsp #mdqa .mdqa__item.depth-4 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-5 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-6 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-7 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-8 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-9 > article.mdqa__bubble,
main.mdsp #mdqa .mdqa__item.depth-10 > article.mdqa__bubble{
  margin-right:45px !important;
  width:calc(100% - 45px) !important;
}

/* children را هم بی‌اثر کن که قالب padding اضافه نده */
main.mdsp #mdqa .children{
  margin:10px 0 0 !important;
  padding:0 !important;
}
/* =========================================
   MD Post: Boxed wrapper for product slider
   Wrapper from shortcode: .mdps-box
========================================= */
.mdsp .mdps-box{
  width: 100%;
  max-width: 100%;
  margin: 14px 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
  overflow: hidden;   /* مهم: بیرون نزند */
  min-width: 0;       /* مهم: grid را نکشد */
}

/* جلوگیری از پهن شدن داخل grid */
.mdsp .mdps-box .mdc-wrap,
.mdsp .mdps-box .mdc-track{
  max-width: 100%;
  min-width: 0;
}

/* داخل نوشته‌ها کارت‌ها سقف رشد داشته باشند (نه کشیدن صفحه) */
.mdsp .mdps-box .mdc-track{
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

/* دسکتاپ: کارت‌ها فیکس و کنترل‌شده (۴تایی + اسکرول) */
@media (min-width: 961px){
  .mdsp .mdps-box .mdc-card{
    flex: 0 0 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }
  .mdsp .mdps-box .mdc-thumb{
    height: 130px !important;
    object-fit: cover !important;
  }
}

/* تبلت: 2 کارت */
@media (max-width: 960px){
  .mdsp .mdps-box .mdc-card{
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
  }
}

/* موبایل: 1 کارت */
@media (max-width: 520px){
  .mdsp .mdps-box .mdc-card{
    flex: 0 0 85% !important;
    width: 85% !important;
    max-width: 85% !important;
  }
  .mdsp .mdps-box .mdc-thumb{
    height: 150px !important;
  }
}
/* =========================================================
   FIX: Prevent post content column from expanding (CRITICAL)
   Reason: grid items default min-width:auto -> causes overflow
========================================================= */
.mdsp__grid,
.mdsp__content,
.mdsp__side,
.mdsp__wrap,
.mdsp__content.mdsp__card{
  min-width: 0 !important;
}

/* اگر قالب/المنتور روی محتوا flex زده باشد */
.mdsp__content{
  max-width: 100% !important;
  overflow: hidden;      /* جلوی بیرون‌زدگی افقی را می‌گیرد */
}

/* =========================================================
   Box wrapper for slider inside posts (must not be full width)
========================================================= */
.mdsp__content .mdps-box{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 14px 0 !important;
  padding: 12px !important;

  border-radius: 18px !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.06) !important;

  overflow: hidden !important; /* مهم: هیچ چیزی بیرون نزند */
}

/* اگر بعضی قالب‌ها برای بچه‌ها max-width می‌گذارند */
.mdsp__content .mdps-box *{
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* =========================================================
   HARD clamp: slider itself must never force layout wider
========================================================= */
.mdsp__content .mdps-box .mdc-wrap{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.mdsp__content .mdps-box .mdc-track{
  max-width: 100% !important;
  min-width: 0 !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  /* جلوگیری از اینکه در بعضی قالب‌ها track اندازه بگیرد */
  display: flex !important;
  flex-wrap: nowrap !important;
}

/* کارت‌ها: همان سایز خوب خودت (ثابت) */
.mdsp__content .mdps-box .mdc-card{
  flex: 0 0 240px !important;
  width: 240px !important;
  max-width: 240px !important;
}

/* تصویر ثابت */
.mdsp__content .mdps-box .mdc-thumb{
  height: 130px !important;
  object-fit: cover !important;
}

/* =========================================================
   Kill "alignfull/alignwide" effect ONLY for this widget
   (اگر ادیتور/قالب margin منفی می‌دهد)
========================================================= */
.mdsp__content .mdps-box{
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
}

/* =========================================================
   Optional: Stop global horizontal overflow (safety net)
========================================================= */
.mdsp,
.mdsp__wrap{
  overflow-x: hidden;
}

/* عرض بیشتر برای باکس ویجت داخل نوشته */
.mdsp__content .mdps-box{
  max-width: 980px;      /* مثلا 980 یا 1040 */
  margin-left: auto !important;
  margin-right: auto !important;  /* وسط چین */
}
