پرش به محتوا

مدیاویکی:Common.css: تفاوت میان نسخه‌ها

از ویکی داد
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
/* =========================================================
/* =========================================================
   ویکی‌داد — سیستم طراحی اصلی
   ویکی‌داد — MediaWiki:Common.css
  MediaWiki:Common.css
   نسخه نهایی یکپارچه
   نسخه یکپارچه و اصلاحی
  پالت: رسمی + زنده + کمی فانتزی
   ========================================================= */
   ========================================================= */




/* =========================================================
/* =========================================================
   1. متغیرهای اصلی طراحی
   1. DESIGN SYSTEM
   ========================================================= */
   ========================================================= */


:root {
:root {


     --law-primary: #168477;
    /* هویت اصلی ویکی‌داد */
     --law-primary-dark: #11695f;
     --wd-teal: #147d73;
     --wd-teal-dark: #0d625b;
    --wd-teal-mid: #2c8d82;
    --wd-teal-soft: #e6f4f0;


     --law-link: #176c88;
    /* آبی فیروزه‌ای */
     --wd-cyan: #16758a;
    --wd-cyan-soft: #e8f5f7;


     --law-gold: #c49a3a;
    /* طلایی */
     --law-blue: #3978ad;
     --wd-gold: #b98a32;
     --law-purple: #8064a2;
     --wd-gold-dark: #85651f;
    --law-orange: #d38a27;
     --wd-gold-soft: #fbf4df;


     --law-text: #263238;
     /* آبی */
     --law-text-soft: #546e7a;
    --wd-blue: #3979a7;
    --wd-blue-dark: #285f87;
     --wd-blue-soft: #edf5fb;


     --law-bg: #ffffff;
     /* بنفش */
     --law-bg-soft: #f7f9f8;
    --wd-purple: #76629a;
    --wd-purple-dark: #604d82;
     --wd-purple-soft: #f3eff9;


     --law-border: #dfe7e5;
    /* مرجانی */
     --wd-coral: #c97838;
    --wd-coral-dark: #a95e27;
    --wd-coral-soft: #fff2e7;


     --law-shadow:
     /* سبز پاسخ */
        0 4px 18px rgba(20, 60, 55, 0.07);
    --wd-success: #4b9b57;
    --wd-success-dark: #31743a;
    --wd-success-soft: #edf8f2;


     --law-radius: 12px;
    /* قرمز خطا */
     --wd-danger: #c85b5b;
    --wd-danger-dark: #9a3f3f;
    --wd-danger-soft: #fff1f1;


     --law-space: 24px;
    /* متن */
     --wd-text: #293b3a;
    --wd-text-soft: #657572;
    --wd-text-light: #7b8986;
 
    /* زمینه */
    --wd-bg: #ffffff;
    --wd-bg-soft: #f7faf9;
    --wd-bg-warm: #fcfaf6;
 
    /* خطوط */
    --wd-border: #dce8e4;
    --wd-border-dark: #c8d9d4;
 
    /* سایه */
    --wd-shadow:
        0 4px 18px rgba(25, 83, 76, 0.07);
 
    --wd-shadow-hover:
        0 6px 18px rgba(25, 83, 76, 0.11);
 
    /* گوشه */
    --wd-radius: 10px;
    --wd-radius-small: 7px;
 
    /* فونت */
    --wd-font:
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}
}




/* =========================================================
/* =========================================================
   2. پایه صفحات فارسی
   2. پایه ویکی
   ========================================================= */
   ========================================================= */


خط ۵۰: خط ۹۸:
     direction: rtl;
     direction: rtl;
     text-align: right;
     text-align: right;
     color: var(--law-text);
     color: var(--wd-text);
     font-family:
     font-family: var(--wd-font);
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}
}


خط ۶۸: خط ۱۱۱:


/* =========================================================
/* =========================================================
   3. صفحه حقوقی
   3. لینک‌های عمومی صفحات حقوقی
   ========================================================= */
   ========================================================= */


.law-page {
.mw-body a {
     direction: rtl;
     color: var(--wd-cyan);
    text-align: right;
    line-height: 2;
    font-family:
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}
}


 
.mw-body a:hover {
/* =========================================================
     color: var(--wd-teal-dark);
  4. لینک‌های صفحات حقوقی
}
  ========================================================= */
 
.law-page a {
    color: var(--law-link);
    font-weight: 500;
}
 
.law-page a:hover {
     color: var(--law-primary-dark);
}




/* =========================================================
/* =========================================================
   5. تیترهای اصلی صفحات
   4. تیترهای MediaWiki
   ========================================================= */
   ========================================================= */


خط ۱۰۶: خط ۱۳۱:
.mw-body h3,
.mw-body h3,
.mw-body h4 {
.mw-body h4 {
     color: var(--law-text);
     color: var(--wd-text);
     font-weight: 700;
     font-weight: 700;
}
}
خط ۱۱۲: خط ۱۳۷:


/* =========================================================
/* =========================================================
   6. بردکرامب حقوقی
   5. صفحه حقوقی
   =========================================================
   ========================================================= */
 
.law-page {
    direction: rtl;
    text-align: right;
    line-height: 2;
    font-family: var(--wd-font);
}


  ساختار:
.law-page a {
    color: var(--wd-cyan);
    font-weight: 500;
    text-decoration: none;
}


  [ قوانین و مقررات ] ← [ قانون کار ] ← [ فصل اول ] ← [ ماده ۲ ]
.law-page a:hover {
    color: var(--wd-teal-dark);
    text-decoration: underline;
}


  هر سطح یک کادر مستقل دارد.
  فلش‌ها خارج از کادرها هستند.
  ماده جاری با رنگ سبز مشخص می‌شود.


/* =========================================================
  6. بردکرامب
  قوانین و مقررات ← قانون ← فصل ← ماده
   ========================================================= */
   ========================================================= */


خط ۱۳۸: خط ۱۷۷:
     padding: 0;
     padding: 0;


     font-family:
     font-family: var(--wd-font);
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;


     font-size: 13px;
     font-size: 13px;
     line-height: 1.8;
     line-height: 1.8;
}
}




/* ---------- کادرهای قابل کلیک ---------- */
/* کادر هر سطح */


.wd-breadcrumb-item {
.wd-breadcrumb-item {
خط ۱۶۰: خط ۱۹۳:
     box-sizing: border-box;
     box-sizing: border-box;


     min-height: 34px;
     min-height: 35px;


     padding: 5px 12px;
     padding: 5px 13px;


     background: #f5f8f7;
     background:
        linear-gradient(
            135deg,
            #f7faf9,
            #eef6f3
        );


     border: 1px solid #d8e3df;
     border: 1px solid #d4e3df;


     border-radius: 7px;
     border-radius: 8px;


     color: #3f5d58;
     color: #42645f;


     white-space: nowrap;
     white-space: nowrap;
    box-shadow:
        0 1px 3px rgba(25, 83, 76, 0.04);


     transition:
     transition:
         background 0.15s ease,
         background .16s ease,
         border-color 0.15s ease,
         border-color .16s ease,
         color 0.15s ease,
         transform .16s ease,
         transform 0.15s ease;
         box-shadow .16s ease;
}
}
/* لینک داخل کادر */


.wd-breadcrumb-item a {
.wd-breadcrumb-item a {


     color: #3d6861 !important;
     color: #3c6861 !important;


     text-decoration: none !important;
     text-decoration: none !important;


     font-weight: 600;
     font-weight: 650;
}
}
/* هاور */


.wd-breadcrumb-item:hover {
.wd-breadcrumb-item:hover {


     background: #edf5f2;
     background:
        linear-gradient(
            135deg,
            #edf8f4,
            #e2f1ed
        );


     border-color: #a9c8c1;
     border-color: #9fc8bf;


     transform: translateY(-1px);
     transform: translateY(-1px);
    box-shadow:
        0 3px 9px rgba(25, 83, 76, 0.08);
}
}


.wd-breadcrumb-item:hover a {
.wd-breadcrumb-item:hover a {
 
     color: var(--wd-teal-dark) !important;
     color: #11695f !important;
}
}




/* ---------- فلش بین کادرها ---------- */
/* فلش */


.wd-breadcrumb-arrow {
.wd-breadcrumb-arrow {
خط ۲۲۰: خط ۲۶۲:
     justify-content: center;
     justify-content: center;


     min-width: 17px;
     width: 17px;


     color: #8a9b97;
     color: #93aaa5;


     font-size: 14px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 700;


     user-select: none;
     user-select: none;
خط ۲۳۱: خط ۲۷۳:




/* ---------- ماده جاری ---------- */
/* ماده جاری */


.wd-breadcrumb-current {
.wd-breadcrumb-current {
خط ۲۴۰: خط ۲۸۲:
     box-sizing: border-box;
     box-sizing: border-box;


     min-height: 34px;
     min-height: 35px;


     padding: 5px 13px;
     padding: 5px 14px;


     background: #e5f1ed;
     background:
        linear-gradient(
            135deg,
            #e0f2ec,
            #d4ebe5
        );


     border: 1px solid #b8d5cc;
     border: 1px solid #acd0c6;


     border-right: 3px solid #168477;
     border-right: 3px solid var(--wd-teal);


     border-radius: 7px;
     border-radius: 8px;


     color: #11695f;
     color: var(--wd-teal-dark);


     font-weight: 800;
     font-weight: 800;


     white-space: nowrap;
     white-space: nowrap;
    box-shadow:
        0 2px 7px rgba(20, 125, 115, 0.08);
}
}




/* ---------- لینک‌های داخل بردکرامب ---------- */
/* =========================================================
  7. صفحه اصلی — هدر
  ========================================================= */
 
.wd-home {


.wd-breadcrumb-item span[itemprop="name"],
    direction: rtl;
.wd-breadcrumb-current span[itemprop="name"] {
    text-align: right;


     display: inline-block;
     font-family: var(--wd-font);
}
}




/* ---------- موبایل ---------- */
/* هدر اصلی */


@media (max-width: 700px) {
.wd-hero {


     .wd-breadcrumb {
     position: relative;


        gap: 5px;
    margin-bottom: 28px;


        margin: 10px 0 18px;
    padding: 34px 30px;


         font-size: 12px;
    background:
 
         linear-gradient(
         line-height: 1.7;
            135deg,
    }
            #eaf7f3 0%,
            #e2f2ee 52%,
            #edf7f5 100%
         );


     .wd-breadcrumb-item,
     border-right: 6px solid var(--wd-teal);
    .wd-breadcrumb-current {


        min-height: 31px;
    border-radius: 13px;


        padding: 4px 9px;
    box-shadow: var(--wd-shadow);


        border-radius: 6px;
    overflow: hidden;
    }
}


    .wd-breadcrumb-arrow {


        min-width: 12px;
/* یک هاله خیلی ظریف برای زنده‌تر شدن هدر */


        font-size: 12px;
.wd-hero::before {
    }
}


    content: "";


/* =========================================================
    position: absolute;
  7. نکته مهم درباره جعبه ماده
  =========================================================


  طراحی نهایی الگو:جعبه ماده داخل خود Template قرار دارد.
    width: 150px;
  بنابراین اینجا عمداً روی آن background / padding / border
    height: 150px;
  تحمیل نمی‌کنیم تا طراحی نهایی Template خراب نشود.


  ========================================================= */
    left: -45px;
    top: -55px;


    background: rgba(255,255,255,.35);


/* =========================================================
    border-radius: 50%;
  8. اصطلاحات کلیدی
  ========================================================= */


.term-box {
    pointer-events: none;
}


    background: #f3eff8;
.wd-hero::after {


     border-right: 5px solid var(--law-purple);
     content: "";


     border-radius: 10px;
     position: absolute;


     padding: 18px 22px;
     width: 90px;
    height: 90px;


     margin: 18px 0;
     left: 70px;
}
    bottom: -45px;


    background: rgba(255,255,255,.22);


/* =========================================================
    border-radius: 50%;
  9. مواد مرتبط
 
  ========================================================= */
    pointer-events: none;
}


.related-laws-box {
.wd-hero-title {


     background: #f5f1e8;
     position: relative;
    z-index: 1;


     border-right: 5px solid var(--law-gold);
     color: var(--wd-teal-dark);


     border-radius: 10px;
     font-size: 30px;


     padding: 18px 22px;
     font-weight: 900;


     margin: 20px 0;
     line-height: 1.7;
}
}


.related-laws-title {
.wd-hero-subtitle {
 
    position: relative;
    z-index: 1;
 
    margin-top: 5px;


     color: #80621e;
     color: #60736f;


     font-weight: bold;
     font-size: 15px;


     font-size: 1.12em;
     line-height: 2;
}
}


.wd-search-box {


/* =========================================================
    position: relative;
  10. رأی قضایی
    z-index: 1;
  ========================================================= */


.judgment-box {
    margin-top: 22px;
}


    background: #eef4fa;


    border-right: 5px solid var(--law-blue);
/* =========================================================
  8. فهرست قانون — سربرگ
  ========================================================= */


     border-radius: 10px;
.wd-law-index {
 
    direction: rtl;
     text-align: right;


     padding: 20px 24px;
     margin: 24px 0;


     margin: 18px 0;
     font-family: var(--wd-font);
}
}


.judgment-title {
.wd-law-index-head {


     color: #245d89;
     padding: 20px 22px;


     font-weight: bold;
     background:
}
        linear-gradient(
            135deg,
            #eef8f4,
            #e2f2ee
        );


    border-right: 5px solid var(--wd-teal);


/* =========================================================
    border-radius: 11px;
  11. نظریه مشورتی
  ========================================================= */


.advisory-box {
    margin-bottom: 16px;
 
    box-shadow:
        0 2px 10px rgba(25, 83, 76, 0.05);
}


    background: #f5f0e9;
.wd-law-index-title {


     border-right: 5px solid #a9783b;
     color: var(--wd-teal-dark);


     border-radius: 10px;
     font-size: 21px;


     padding: 20px 24px;
     font-weight: 850;


     margin: 18px 0;
     line-height: 1.9;
}
}


.wd-law-index-description {


/* =========================================================
    margin-top: 5px;
  12. شرح ماده
  ========================================================= */


.explanation-box {
    color: var(--wd-text-soft);


     background: #ffffff;
     font-size: 13px;


     border-right: 5px solid var(--law-primary);
     line-height: 2;
}


    border-radius: 10px;
.wd-law-index-meta {


     padding: 20px 24px;
     display: flex;


     margin: 18px 0;
     flex-wrap: wrap;
 
    gap: 7px;


     box-shadow:
     margin-top: 12px;
        0 2px 8px rgba(0, 0, 0, 0.06);
}
}


.wd-law-index-meta span {


/* =========================================================
    display: inline-block;
  13. جستارهای وابسته
 
  ========================================================= */
    padding: 4px 9px;


.related-topics-box {
    background: rgba(255,255,255,.82);


     background: #f7f7f7;
     border: 1px solid #d3e2de;


     border-right: 4px solid #777;
     border-radius: 6px;


     border-radius: 8px;
     color: #52635f;


     padding: 18px 22px;
     font-size: 11px;
}


     margin: 20px 0;
.wd-law-index-status {
     font-weight: 700;
}
}




/* =========================================================
/* =========================================================
   14. ناوبری مواد
   9. فصل قانون
   ========================================================= */
   ========================================================= */


.law-navigation {
.wd-law-chapter {
    margin: 13px 0;
}


    margin: 35px 0;
.wd-law-chapter a {


     padding: 18px;
     display: block;


     background: #f1f7f6;
     color: inherit !important;


    border: 1px solid #c9e3df;
     text-decoration: none !important;
 
    border-radius: 12px;
 
    direction: rtl;
     text-align: center;
}
}


.law-navigation-title {
.wd-law-chapter-clickable {


     color: var(--law-primary-dark);
     display: flex;


     font-weight: bold;
     align-items: center;
    justify-content: space-between;


     font-size: 1.15em;
     width: 100%;


     margin-bottom: 12px;
     min-height: 64px;
}


    box-sizing: border-box;


/* =========================================================
    padding: 12px 18px;
  15. فهرست قانون
  ========================================================= */


.wd-law-index {
    background:
        linear-gradient(
            135deg,
            #eef8f4 0%,
            #e3f1ed 100%
        );


     direction: rtl;
     border: 1px solid #cfe1dc;
    text-align: right;


     margin: 24px 0;
     border-right: 5px solid var(--wd-teal);


     font-family:
     border-radius: 10px;
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}


    box-shadow:
        0 2px 8px rgba(25, 83, 76, 0.045);


/* ---------- سربرگ فهرست ---------- */
    transition:
        background .17s ease,
        border-color .17s ease,
        transform .17s ease,
        box-shadow .17s ease;
}


.wd-law-index-head {
.wd-law-chapter-clickable:hover {
 
    padding: 20px 22px;


     background:
     background:
         linear-gradient(
         linear-gradient(
             135deg,
             135deg,
             #eef6f3 0%,
             #e5f5ef,
             #e5f0ed 100%
             #d9eee8
         );
         );


     border-right: 5px solid var(--law-primary);
     border-color: #a8cbc2;


     border-radius: 10px;
     transform: translateY(-1px);


     margin-bottom: 16px;
     box-shadow:
        0 5px 14px rgba(25, 83, 76, 0.09);
}
}


.wd-law-index-title {
.wd-law-chapter-main {


     color: var(--law-primary-dark);
     display: flex;


     font-size: 21px;
    flex-direction: column;
 
    min-width: 0;
}
 
.wd-law-chapter-title {
 
    color: #185e57;
 
     font-size: 16px;


     font-weight: 800;
     font-weight: 800;
خط ۵۲۴: خط ۶۱۰:
}
}


.wd-law-index-description {
.wd-law-chapter-description {


     margin-top: 5px;
     margin-top: 2px;


     color: #5b6d69;
     color: #71847f;


     font-size: 13px;
     font-size: 12px;


     line-height: 2;
     line-height: 1.8;
}
}


.wd-law-index-meta {
.wd-law-chapter-arrow {


     display: flex;
     flex: 0 0 auto;


     flex-wrap: wrap;
     margin-right: 15px;


     gap: 7px;
     width: 29px;
    height: 29px;


     margin-top: 12px;
     display: flex;
}


.wd-law-index-meta span {
    align-items: center;
    justify-content: center;


     display: inline-block;
     background: #d8ebe5;


     padding: 4px 9px;
     border-radius: 50%;


     background: #ffffff;
     color: #27766d;


     border: 1px solid #d8e3df;
     font-size: 15px;


    border-radius: 6px;
     font-weight: 800;
 
    color: #52635f;
 
    font-size: 11px;
}
 
.wd-law-index-status {
 
     font-weight: 700;
}
}




/* =========================================================
/* =========================================================
   16. فصل قانون
   10. مبحث قانون
   ========================================================= */
   ========================================================= */


.wd-law-chapter {
.wd-law-topic {
 
     margin: 9px 0;
     margin: 12px 0;
}
}


.wd-law-chapter a {
.wd-law-topic a {


     display: block;
     display: block;
خط ۵۸۷: خط ۶۶۴:
}
}


.wd-law-chapter-clickable {
.wd-law-topic-clickable {


     display: flex;
     display: flex;


     align-items: center;
     align-items: center;
     justify-content: space-between;
     justify-content: space-between;


     width: 100%;
     width: 100%;
    min-height: 55px;


     box-sizing: border-box;
     box-sizing: border-box;


     min-height: 62px;
     padding: 10px 16px;


     padding: 12px 17px;
     background:
 
        linear-gradient(
    background: #f1f6f4;
            135deg,
            #fbfcfc,
            #f5f9f7
        );


     border: 1px solid #d5e2de;
     border: 1px solid #dfe8e5;


     border-right: 5px solid #2f6f68;
     border-right: 4px solid #75a69e;


     border-radius: 9px;
     border-radius: 9px;


     transition:
     transition:
         background 0.15s ease,
         background .16s ease,
         border-color 0.15s ease,
         border-color .16s ease,
         transform 0.15s ease,
         transform .16s ease,
         box-shadow 0.15s ease;
         box-shadow .16s ease;
}
}


.wd-law-chapter-clickable:hover {
.wd-law-topic-clickable:hover {
 
    background:
        linear-gradient(
            135deg,
            #f2f8f6,
            #ebf4f1
        );


     background: #e8f2ef;
     border-color: #bfd6d0;


     border-color: #a9c8c1;
     transform: translateX(-2px);


     box-shadow:
     box-shadow:
         0 3px 10px rgba(30, 90, 80, 0.07);
         0 3px 9px rgba(25, 83, 76, 0.06);
 
    transform: translateY(-1px);
}
}


.wd-law-chapter-main {
.wd-law-topic-main {


     display: flex;
     display: flex;
خط ۶۳۹: خط ۷۲۵:
}
}


.wd-law-chapter-title {
.wd-law-topic-title {


     color: #245b55;
     color: #486863;


     font-size: 16px;
     font-size: 14px;


     font-weight: 800;
     font-weight: 750;


     line-height: 1.9;
     line-height: 1.9;
}
}


.wd-law-chapter-description {
.wd-law-topic-description {


     margin-top: 2px;
     color: #7b8986;


    color: #71817e;
     font-size: 11px;
 
     font-size: 12px;


     line-height: 1.8;
     line-height: 1.8;
}
}


.wd-law-chapter-arrow {
.wd-law-topic-arrow {


     flex: 0 0 auto;
     flex: 0 0 auto;


     margin-right: 15px;
     margin-right: 12px;


     color: #397d74;
     color: #70958f;


     font-size: 17px;
     font-size: 14px;
 
    font-weight: bold;
}
}




/* =========================================================
/* =========================================================
   17. مبحث قانون
   11. ماده در فهرست
   ========================================================= */
   ========================================================= */


.wd-law-topic {
.wd-law-item {
 
     margin: 6px 0;
     margin: 9px 0;
}
}


.wd-law-topic a {
.wd-law-item a {


     display: block;
     display: block;
خط ۶۹۳: خط ۷۷۴:
}
}


.wd-law-topic-clickable {
.wd-law-item-clickable {


     display: flex;
     display: flex;
خط ۶۹۹: خط ۷۸۰:
     align-items: center;
     align-items: center;


     justify-content: space-between;
     width: 100%;


     width: 100%;
     min-height: 50px;


     box-sizing: border-box;
     box-sizing: border-box;


     min-height: 54px;
     padding: 8px 13px;


    padding: 10px 16px;
     background: #ffffff;
 
     background: #fafcfb;


     border: 1px solid #e0e7e4;
     border: 1px solid #e1e9e6;
 
    border-right: 4px solid #719b94;


     border-radius: 8px;
     border-radius: 8px;


     transition:
     transition:
         background 0.15s ease,
         background .15s ease,
         border-color 0.15s ease,
         border-color .15s ease,
         transform 0.15s ease;
        box-shadow .15s ease,
         transform .15s ease;
}
}


.wd-law-topic-clickable:hover {
.wd-law-item-clickable:hover {
 
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f1f8f5
        );


     background: #f1f7f5;
     border-color: #b8d3cc;


     border-color: #b9d0ca;
     transform: translateX(-2px);


     transform: translateY(-1px);
     box-shadow:
        0 3px 9px rgba(25, 83, 76, 0.055);
}
}


.wd-law-topic-main {
.wd-law-item-number {
 
    flex: 0 0 auto;
 
    min-width: 72px;


     display: flex;
     color: #24746b;


     flex-direction: column;
     font-size: 13px;


     min-width: 0;
     font-weight: 850;
}
}


.wd-law-topic-title {
.wd-law-item-text {


     color: #385f5a;
     display: flex;


     font-size: 14px;
    flex-direction: column;
 
    flex: 1;
 
    min-width: 0;
}
 
.wd-law-item-title {
 
    color: #405552;
 
     font-size: 13px;


     font-weight: 700;
     font-weight: 700;


     line-height: 1.9;
     line-height: 1.8;
}
}


.wd-law-topic-description {
.wd-law-item-summary {


     color: #7a8986;
    margin-top: 1px;
 
     color: #7b8986;


     font-size: 11px;
     font-size: 11px;
خط ۷۶۱: خط ۸۶۴:
}
}


.wd-law-topic-arrow {
.wd-law-item-status {


     flex: 0 0 auto;
     flex: 0 0 auto;


     margin-right: 12px;
     margin-right: 9px;


     color: #648b85;
     padding: 3px 8px;


     font-size: 15px;
     background: #edf7f3;
}


    border: 1px solid #d4e8e2;


/* =========================================================
    border-radius: 5px;
  18. ماده در فهرست
 
  ========================================================= */
    color: #31786f;


.wd-law-item {
    font-size: 10px;


     margin: 7px 0;
     font-weight: 700;
}
}


.wd-law-item a {
.wd-law-item-arrow {
 
    flex: 0 0 auto;


     display: block;
     margin-right: 9px;


     color: inherit !important;
     color: #7d9993;


     text-decoration: none !important;
     font-size: 14px;
}
}


.wd-law-item-clickable {


    display: flex;
/* =========================================================
  12. جعبه‌های محتوایی
  ========================================================= */


    align-items: center;
.term-box {


     width: 100%;
     background:
        linear-gradient(
            135deg,
            #f7f3fb,
            #f1edf8
        );


     box-sizing: border-box;
     border-right: 5px solid var(--wd-purple);


     min-height: 49px;
     border-radius: 10px;
 
    padding: 18px 22px;


     padding: 8px 13px;
     margin: 18px 0;
 
    box-shadow:
        0 2px 9px rgba(118, 98, 154, 0.06);
}


    background: #ffffff;


    border: 1px solid #e3e9e7;
.related-laws-box {


     border-radius: 7px;
     background:
        linear-gradient(
            135deg,
            #fffaf0,
            #f9f3e6
        );


     transition:
     border-right: 5px solid var(--wd-gold);
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}


.wd-law-item-clickable:hover {
    border-radius: 10px;


     background: #f7faf9;
     padding: 18px 22px;


     border-color: #b7d0c9;
     margin: 20px 0;


     box-shadow:
     box-shadow:
         0 2px 8px rgba(20, 60, 55, 0.05);
         0 2px 9px rgba(185, 138, 50, 0.055);
 
    transform: translateY(-1px);
}
}


.wd-law-item-number {
.related-laws-title {


     flex: 0 0 auto;
     color: var(--wd-gold-dark);


     min-width: 72px;
     font-weight: 800;
 
    font-size: 1.12em;
}


    color: #28706a;


    font-size: 13px;
.judgment-box {


     font-weight: 800;
     background:
}
        linear-gradient(
            135deg,
            #f1f7fc,
            #eaf3fa
        );


.wd-law-item-text {
    border-right: 5px solid var(--wd-blue);


     display: flex;
     border-radius: 10px;


     flex-direction: column;
     padding: 20px 24px;


     flex: 1;
     margin: 18px 0;


     min-width: 0;
     box-shadow:
        0 2px 9px rgba(57, 121, 167, 0.055);
}
}


.wd-law-item-title {
.judgment-title {


     color: #3d514e;
     color: var(--wd-blue-dark);


     font-size: 13px;
     font-weight: 800;
}


    font-weight: 700;


     line-height: 1.8;
.advisory-box {
}
 
     background:
        linear-gradient(
            135deg,
            #fcf7ef,
            #f7efe3
        );


.wd-law-item-summary {
    border-right: 5px solid #a9783b;


     margin-top: 1px;
     border-radius: 10px;


     color: #7b8986;
     padding: 20px 24px;


     font-size: 11px;
     margin: 18px 0;


     line-height: 1.8;
     box-shadow:
        0 2px 9px rgba(169, 120, 59, 0.055);
}
}


.wd-law-item-status {


    flex: 0 0 auto;
.explanation-box {


     margin-right: 9px;
     background:
 
        linear-gradient(
    padding: 3px 7px;
            135deg,
            #ffffff,
            #f8fbfa
        );


     border-radius: 5px;
     border-right: 5px solid var(--wd-teal);


     background: #edf6f2;
     border-radius: 10px;


     color: #34786e;
     padding: 20px 24px;


     font-size: 10px;
     margin: 18px 0;


     font-weight: 700;
     box-shadow:
        0 3px 11px rgba(20, 80, 70, 0.055);
}
}


.wd-law-item-arrow {


     flex: 0 0 auto;
/* =========================================================
  13. نکات و جستارهای وابسته
  ========================================================= */
 
.related-topics-box {
 
     background:
        linear-gradient(
            135deg,
            #f8faf9,
            #f2f6f5
        );
 
    border-right: 4px solid #7d918d;


     margin-right: 9px;
     border-radius: 8px;


     color: #79928d;
     padding: 18px 22px;


     font-size: 14px;
     margin: 20px 0;
}
}




/* =========================================================
/* =========================================================
   19. جدول فهرست قدیمی
   14. ناوبری قدیمی مواد
   ========================================================= */
   ========================================================= */


.law-index-table {
.law-navigation {
 
    margin: 35px 0;
 
    padding: 18px;
 
    background:
        linear-gradient(
            135deg,
            #edf8f5,
            #e4f2ee
        );


     width: 100%;
     border: 1px solid #c9e3df;


     border-collapse: collapse;
     border-radius: 12px;


     direction: rtl;
     direction: rtl;
    text-align: center;


     margin: 20px 0;
     box-shadow:
        0 3px 11px rgba(20, 100, 90, .05);
}
}


.law-index-table th {
.law-navigation-title {


     background: var(--law-primary);
     color: var(--wd-teal-dark);


     color: #ffffff;
     font-weight: 800;


     padding: 10px;
     font-size: 1.15em;


     font-weight: 700;
     margin-bottom: 12px;
}
 
 
/* =========================================================
  15. جدول قدیمی فهرست مواد
  ========================================================= */
 
.law-index-table {
 
    width: 100%;
 
    border-collapse: collapse;
 
    direction: rtl;
 
    margin: 20px 0;
}
 
.law-index-table th {
 
    background: var(--wd-teal);
 
    color: #ffffff;
 
    padding: 10px;
}
}


خط ۹۵۲: خط ۱٬۱۳۳:


/* =========================================================
/* =========================================================
   20. سیستم تست تعاملی
   16. عنوان‌ها / سکشن‌های محتوایی
   ========================================================= */
   ========================================================= */


.wd-test {
.wd-section-title {


     direction: rtl;
     display: flex;


     text-align: right;
     align-items: center;


     margin: 32px 0;
     gap: 10px;


     font-family:
     margin: 28px 0 12px;
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}


    padding-bottom: 8px;


/* ---------- گزینه‌ها ---------- */
    border-bottom: 1px solid var(--wd-border);


.wd-test-options {
    color: var(--wd-text);


     display: flex;
     font-size: 19px;


     flex-direction: column;
     font-weight: 800;
 
    gap: 9px;
}
}


.wd-test-options ul {
.wd-section-title::before {


     margin: 0 !important;
     content: "";


     padding: 0 !important;
     width: 4px;
}


.wd-test-options li {
    height: 25px;


     list-style: none !important;
     background: var(--wd-teal);
 
    margin: 0 !important;


     padding: 0 !important;
     border-radius: 3px;
}
}




/* ---------- خود گزینه ---------- */
/* =========================================================
  17. تست تعاملی — نسخه اصلی و نهایی
  ========================================================= */


.wd-test-option {
.wd-test {
 
    direction: rtl;


     display: flex;
     text-align: right;


     align-items: center;
     margin: 32px 0;


     width: 100%;
     font-family: var(--wd-font);
}


    box-sizing: border-box;
.wd-test-options {


     padding: 12px 15px;
     display: flex;


     background: #ffffff;
     flex-direction: column;


     border: 1px solid #dfe7e5;
     gap: 9px;
}


    border-radius: 8px;
.wd-test-options ul {


     color: #37474f !important;
     margin: 0 !important;


     font-family:
     padding: 0 !important;
        "Vazirmatn",
}
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;


    font-size: 15px;
.wd-test-options li {


     line-height: 1.9;
     list-style: none !important;


     text-align: right;
     margin: 0 !important;


     cursor: pointer;
     padding: 0 !important;
}


    user-select: none;


    transition:
/* گزینه */
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}


.wd-test-option:hover {
.wd-test-option {


     background: #f7faf9;
     display: flex;


     border-color: var(--law-primary);
     align-items: center;


     transform: translateY(-1px);
     width: 100%;
}


    box-sizing: border-box;


/* ---------- مربع گزینه ---------- */
    padding: 12px 15px;


.wd-test-option::before {
    background: #ffffff;


     content: "□";
     border: 1px solid #dfe7e5;


     flex: 0 0 auto;
     border-radius: 8px;


     margin-left: 11px;
     color: #37474f !important;


     font-size: 21px;
     font-family: var(--wd-font);


     line-height: 1;
     font-size: 15px;


     color: #78909c;
     line-height: 1.9;
}


.wd-test-option.wd-selected::before {
    text-align: right;


     content: "☑";
     cursor: pointer;
}


    user-select: none;


/* ---------- پاسخ صحیح ---------- */
    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}


.wd-test-option.wd-correct {
.wd-test-option:hover {


     background: #edf8f2;
     background:
        linear-gradient(
            90deg,
            #ffffff,
            #f0f8f6
        );


     border-color: #4b9b57;
     border-color: var(--wd-teal);


     color: #276b35 !important;
     transform: translateY(-1px);
}


.wd-test-option.wd-correct::before {
    box-shadow:
 
        0 3px 9px rgba(20, 125, 115, .07);
    color: #4b9b57;
}
}




/* ---------- پاسخ غلط ---------- */
/* علامت گزینه */


.wd-test-option.wd-wrong {
.wd-test-option::before {


     background: #fff1f1;
     content: "□";


     border-color: #c85b5b;
     flex: 0 0 auto;


     color: #9a3f3f !important;
     margin-left: 11px;
}


.wd-test-option.wd-wrong::before {
    font-size: 21px;


     content: "☒";
     line-height: 1;


     color: #c85b5b;
     color: #78909c;
}
}


.wd-test-option.wd-selected::before {


/* ---------- نتیجه ---------- */
    content: "☑";
}


.wd-test-result-message.wd-result-correct {


    color: #287653;
/* صحیح */
}


.wd-test-result-message.wd-result-wrong {
.wd-test-option.wd-correct {


     color: #a04444;
    background:
        linear-gradient(
            90deg,
            #edf9f2,
            #e5f5ec
        );
 
    border-color: var(--wd-success);
 
     color: #276b35 !important;
 
    box-shadow:
        0 3px 10px rgba(75, 155, 87, .08);
}
}


.wd-test.wd-test-finished .wd-test-option {
.wd-test-option.wd-correct::before {


     cursor: default;
     color: var(--wd-success);
}
}


.wd-test.wd-test-finished .wd-test-option:hover {


    transform: none;
/* غلط */
}


.wd-test-option.wd-wrong {


/* ---------- نوع سؤال ---------- */
    background:
        linear-gradient(
            90deg,
            #fff3f1,
            #fff0ed
        );


.wd-test-source {
    border-color: var(--wd-danger);


     font-size: 12px;
     color: var(--wd-danger-dark) !important;
}


    font-weight: normal;
.wd-test-option.wd-wrong::before {


     color: var(--law-purple);
     content: "☒";


     white-space: nowrap;
     color: var(--wd-danger);
}
}




/* =========================================================
/* نتیجه */
  21. سیستم قدیمی بانک تست — حفظ سازگاری
  ========================================================= */


.test-bank {
.wd-test-result-message.wd-result-correct {


     margin: 25px 0;
     color: #287653;
}
}


.test-card {
.wd-test-result-message.wd-result-wrong {


     border-radius: 12px;
     color: #a04444;
}


    padding: 20px 22px;
.wd-test.wd-test-finished .wd-test-option {


     margin: 22px 0;
     cursor: default;
}


    box-shadow:
.wd-test.wd-test-finished .wd-test-option:hover {
        0 3px 12px rgba(0, 0, 0, 0.07);


     direction: rtl;
     transform: none;
 
    text-align: right;
}
}


.test-official {


    background: #edf6fc;
/* نوع سؤال */


    border-right: 6px solid var(--law-blue);
.wd-test-source {
}


.test-official .test-label {
    font-size: 12px;


     color: #245d89;
    font-weight: normal;
 
     color: var(--wd-purple);
 
    white-space: nowrap;
}
}


.test-authored {


    background: #f5effa;
/* =========================================================
  18. بانک تست قدیمی — حفظ سازگاری
  ========================================================= */


     border-right: 6px solid var(--law-purple);
.test-bank {
     margin: 25px 0;
}
}


.test-authored .test-label {
.test-card {
 
    border-radius: 12px;


     color: #694d8b;
     padding: 20px 22px;
}


.test-trap {
    margin: 22px 0;


     background: #fff5e7;
     box-shadow:
        0 3px 12px rgba(0,0,0,.07);


     border-right: 6px solid var(--law-orange);
     direction: rtl;
    text-align: right;
}
}


.test-trap .test-label {
.test-official {
 
    background: var(--wd-blue-soft);


     color: #a56311;
     border-right: 6px solid var(--wd-blue);
}
}


.test-label {
.test-official .test-label {
    color: var(--wd-blue-dark);
}
 
.test-authored {
 
    background: var(--wd-purple-soft);
 
    border-right: 6px solid var(--wd-purple);
}
 
.test-authored .test-label {
    color: var(--wd-purple-dark);
}
 
.test-trap {
 
    background: var(--wd-coral-soft);
 
    border-right: 6px solid var(--wd-coral);
}
 
.test-trap .test-label {
    color: var(--wd-coral-dark);
}
 
.test-label {


     font-weight: bold;
     font-weight: bold;
خط ۱٬۲۳۹: خط ۱٬۴۶۳:


.test-option:hover {
.test-option:hover {
     background: #ffffff;
     background: #ffffff;
}
}
خط ۱٬۲۴۹: خط ۱٬۴۷۲:
     padding: 15px 18px;
     padding: 15px 18px;


     background: #eef8ef;
     background: var(--wd-success-soft);


     border-right: 4px solid #4b9b57;
     border-right: 4px solid var(--wd-success);


     border-radius: 8px;
     border-radius: 8px;
خط ۱٬۲۵۸: خط ۱٬۴۸۱:
.test-answer-title {
.test-answer-title {


     color: #31743a;
     color: var(--wd-success-dark);


     font-weight: bold;
     font-weight: bold;
خط ۱٬۲۶۵: خط ۱٬۴۸۸:
.exam-tip {
.exam-tip {


     background: #fff9df;
     background:
        linear-gradient(
            135deg,
            #fff9df,
            #fff5d1
        );


     border-right: 4px solid #d0a928;
     border-right: 4px solid #d0a928;
خط ۱٬۲۷۸: خط ۱٬۵۰۶:


/* =========================================================
/* =========================================================
   22. منابع و مآخذ
   19. منابع و مآخذ — دو ستونه
   ========================================================= */
   ========================================================= */


خط ۱٬۲۸۷: خط ۱٬۵۱۵:
     text-align: right;
     text-align: right;


     font-family:
     font-family: var(--wd-font);
        "Vazirmatn",
 
        "IRANSans",
     font-size: 13px;
        Tahoma,
        Arial,
        sans-serif;
 
     font-size: 13px;


     color: #52615e;
     color: #52615e;
خط ۱٬۳۴۹: خط ۱٬۵۷۲:


     right: 0;
     right: 0;
     top: 50%;
     top: 50%;


     transform: translateY(-50%);
     transform: translateY(-50%);


     color: var(--law-primary);
     color: var(--wd-teal);


     font-size: 11px;
     font-size: 11px;
خط ۱٬۳۶۳: خط ۱٬۵۸۵:
.wd-references a {
.wd-references a {


     color: var(--law-link);
     color: var(--wd-cyan);


     text-decoration: none;
     text-decoration: none;
خط ۱٬۳۷۰: خط ۱٬۵۹۲:
.wd-references a:hover {
.wd-references a:hover {


     color: var(--law-primary-dark);
     color: var(--wd-teal-dark);


     text-decoration: underline;
     text-decoration: underline;
خط ۱٬۳۸۴: خط ۱٬۶۰۶:
.wd-references .mw-cite-backlink a {
.wd-references .mw-cite-backlink a {


     color: var(--law-primary);
     color: var(--wd-teal);


     font-weight: bold;
     font-weight: bold;
خط ۱٬۳۹۱: خط ۱٬۶۱۳:


/* =========================================================
/* =========================================================
   23. جزئیات بازشونده
   20. جعبه ماده — هماهنگی رنگی بدون تخریب Template
  =========================================================
 
  نکته:
  خود الگو:جعبه ماده دارای طراحی نهایی inline است.
  بنابراین اینجا فقط عناصر داخلی‌ای را که در صورت وجود
  کلاس داشته باشند هماهنگ می‌کنیم.
 
  ========================================================= */
 
.law-article-box a {
 
    color: var(--wd-cyan);
 
}
 
.law-article-box a:hover {
 
    color: var(--wd-teal-dark);
}
 
 
/* =========================================================
  21. جزئیات بازشونده
   ========================================================= */
   ========================================================= */


خط ۱٬۳۹۸: خط ۱٬۶۴۳:
     margin: 20px 0;
     margin: 20px 0;


     border: 1px solid var(--law-border);
     border: 1px solid var(--wd-border);


     border-radius: 10px;
     border-radius: 10px;
خط ۱٬۴۱۳: خط ۱٬۶۵۸:
     padding: 13px 17px;
     padding: 13px 17px;


     background: #f4f8f6;
     background:
        linear-gradient(
            135deg,
            #f1f8f5,
            #eaf4f1
        );


     color: var(--law-primary-dark);
     color: var(--wd-teal-dark);


     font-weight: 800;
     font-weight: 800;
خط ۱٬۴۲۳: خط ۱٬۶۷۳:


.law-collapsible summary::-webkit-details-marker {
.law-collapsible summary::-webkit-details-marker {
     display: none;
     display: none;
}
}
خط ۱٬۴۲۹: خط ۱٬۶۷۸:
.law-collapsible > div,
.law-collapsible > div,
.law-collapsible > p {
.law-collapsible > p {
     padding: 0 18px;
     padding: 0 18px;
}
}
خط ۱٬۴۳۵: خط ۱٬۶۸۳:


/* =========================================================
/* =========================================================
   24. صفحه اصلی
   22. لیست‌ها
   ========================================================= */
   ========================================================= */


.wd-home {
.law-page ul,
.law-page ol {
    line-height: 2.1;
}
 
.law-page li {
    margin-bottom: 4px;
}


    direction: rtl;


    text-align: right;
/* =========================================================
  23. جدول‌های عمومی
  ========================================================= */


     font-family:
.mw-body table {
        "Vazirmatn",
     direction: rtl;
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}
}


.wd-hero {


    margin-bottom: 28px;
/* =========================================================
  24. موبایل
  ========================================================= */


    padding: 34px 28px;
@media (max-width: 700px) {


     background:
     .wd-hero {
        linear-gradient(
            135deg,
            #edf7f4 0%,
            #e2f0ec 100%
        );


    border-right: 6px solid var(--law-primary);
        padding: 25px 20px;


    border-radius: 12px;
        border-right-width: 5px;
    }


     box-shadow:
     .wd-hero-title {
         0 4px 18px rgba(20, 60, 55, .07);
         font-size: 24px;
}
    }


.wd-hero-title {
    .wd-hero-subtitle {
        font-size: 13px;
    }


     color: var(--law-primary-dark);
     .wd-breadcrumb {


    font-size: 30px;
        gap: 5px;


    font-weight: 900;
        margin: 10px 0 18px;


    line-height: 1.7;
        font-size: 12px;
}
    }


.wd-hero-subtitle {
    .wd-breadcrumb-item,
    .wd-breadcrumb-current {


    margin-top: 5px;
        min-height: 32px;


    color: #60736f;
        padding: 4px 9px;


    font-size: 15px;
        border-radius: 7px;
    }


     line-height: 2;
     .wd-breadcrumb-arrow {
}


.wd-search-box {
        width: 12px;


    margin-top: 22px;
        font-size: 12px;
}
     }
 
 
/* =========================================================
  25. جداول عمومی حقوقی
  ========================================================= */
 
.mw-body table {
 
    direction: rtl;
}
 
 
/* =========================================================
  26. لیست‌های داخل صفحات حقوقی
  ========================================================= */
 
.law-page ul,
.law-page ol {
 
    line-height: 2.1;
}
 
.law-page li {
 
    margin-bottom: 4px;
}
 
 
/* =========================================================
  27. لینک‌های داخلی در محتوای حقوقی
  ========================================================= */
 
.law-page a {
 
    color: var(--law-link);
 
     text-decoration: none;
}
 
.law-page a:hover {
 
    color: #0e4e63;
 
    text-decoration: underline;
}
 
 
/* =========================================================
  28. موبایل — فهرست قوانین
  ========================================================= */
 
@media (max-width: 700px) {


     .wd-law-index-head {
     .wd-law-index-head {
خط ۱٬۵۵۸: خط ۱٬۷۵۸:


     .wd-law-index-title {
     .wd-law-index-title {
         font-size: 18px;
         font-size: 18px;
     }
     }
خط ۱٬۵۷۰: خط ۱٬۷۶۹:


     .wd-law-chapter-title {
     .wd-law-chapter-title {
         font-size: 14px;
         font-size: 14px;
     }
     }


     .wd-law-topic-clickable {
     .wd-law-topic-clickable {
         padding: 9px 11px;
         padding: 9px 11px;
     }
     }


     .wd-law-topic-title {
     .wd-law-topic-title {
         font-size: 13px;
         font-size: 13px;
     }
     }


     .wd-law-item-clickable {
     .wd-law-item-clickable {
         padding: 8px 10px;
         padding: 8px 10px;
     }
     }
خط ۱٬۵۹۷: خط ۱٬۷۹۲:


     .wd-law-item-title {
     .wd-law-item-title {
         font-size: 12px;
         font-size: 12px;
     }
     }


     .wd-law-item-summary {
     .wd-law-item-summary {
         font-size: 10px;
         font-size: 10px;
     }
     }
خط ۱٬۶۱۲: خط ۱٬۸۰۵:
         column-gap: 0;
         column-gap: 0;
     }
     }
}
}




/* =========================================================
/* =========================================================
   29. چاپ
   25. چاپ
   ========================================================= */
   ========================================================= */


خط ۱٬۶۳۸: خط ۱٬۸۳۰:


     .wd-breadcrumb-arrow {
     .wd-breadcrumb-arrow {
         color: #555 !important;
         color: #555 !important;
     }
     }
خط ۱٬۶۵۱: خط ۱٬۸۴۲:
         break-inside: avoid;
         break-inside: avoid;
     }
     }
}
}

نسخهٔ ۱۱ سپتامبر ۲۰۲۶، ساعت ۲۰:۱۱

/* =========================================================
   ویکی‌داد — MediaWiki:Common.css
   نسخه نهایی یکپارچه
   پالت: رسمی + زنده + کمی فانتزی
   ========================================================= */


/* =========================================================
   1. DESIGN SYSTEM
   ========================================================= */

:root {

    /* هویت اصلی ویکی‌داد */
    --wd-teal: #147d73;
    --wd-teal-dark: #0d625b;
    --wd-teal-mid: #2c8d82;
    --wd-teal-soft: #e6f4f0;

    /* آبی فیروزه‌ای */
    --wd-cyan: #16758a;
    --wd-cyan-soft: #e8f5f7;

    /* طلایی */
    --wd-gold: #b98a32;
    --wd-gold-dark: #85651f;
    --wd-gold-soft: #fbf4df;

    /* آبی */
    --wd-blue: #3979a7;
    --wd-blue-dark: #285f87;
    --wd-blue-soft: #edf5fb;

    /* بنفش */
    --wd-purple: #76629a;
    --wd-purple-dark: #604d82;
    --wd-purple-soft: #f3eff9;

    /* مرجانی */
    --wd-coral: #c97838;
    --wd-coral-dark: #a95e27;
    --wd-coral-soft: #fff2e7;

    /* سبز پاسخ */
    --wd-success: #4b9b57;
    --wd-success-dark: #31743a;
    --wd-success-soft: #edf8f2;

    /* قرمز خطا */
    --wd-danger: #c85b5b;
    --wd-danger-dark: #9a3f3f;
    --wd-danger-soft: #fff1f1;

    /* متن */
    --wd-text: #293b3a;
    --wd-text-soft: #657572;
    --wd-text-light: #7b8986;

    /* زمینه */
    --wd-bg: #ffffff;
    --wd-bg-soft: #f7faf9;
    --wd-bg-warm: #fcfaf6;

    /* خطوط */
    --wd-border: #dce8e4;
    --wd-border-dark: #c8d9d4;

    /* سایه */
    --wd-shadow:
        0 4px 18px rgba(25, 83, 76, 0.07);

    --wd-shadow-hover:
        0 6px 18px rgba(25, 83, 76, 0.11);

    /* گوشه */
    --wd-radius: 10px;
    --wd-radius-small: 7px;

    /* فونت */
    --wd-font:
        "Vazirmatn",
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;
}


/* =========================================================
   2. پایه ویکی
   ========================================================= */

html {
    direction: rtl;
}

body {
    direction: rtl;
    text-align: right;
    color: var(--wd-text);
    font-family: var(--wd-font);
}

input,
textarea,
select,
button {
    font-family: inherit;
}


/* =========================================================
   3. لینک‌های عمومی صفحات حقوقی
   ========================================================= */

.mw-body a {
    color: var(--wd-cyan);
}

.mw-body a:hover {
    color: var(--wd-teal-dark);
}


/* =========================================================
   4. تیترهای MediaWiki
   ========================================================= */

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
    color: var(--wd-text);
    font-weight: 700;
}


/* =========================================================
   5. صفحه حقوقی
   ========================================================= */

.law-page {
    direction: rtl;
    text-align: right;
    line-height: 2;
    font-family: var(--wd-font);
}

.law-page a {
    color: var(--wd-cyan);
    font-weight: 500;
    text-decoration: none;
}

.law-page a:hover {
    color: var(--wd-teal-dark);
    text-decoration: underline;
}


/* =========================================================
   6. بردکرامب
   قوانین و مقررات ← قانون ← فصل ← ماده
   ========================================================= */

.wd-breadcrumb {

    direction: rtl;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin: 12px 0 24px;
    padding: 0;

    font-family: var(--wd-font);

    font-size: 13px;
    line-height: 1.8;
}


/* کادر هر سطح */

.wd-breadcrumb-item {

    display: inline-flex;
    align-items: center;

    box-sizing: border-box;

    min-height: 35px;

    padding: 5px 13px;

    background:
        linear-gradient(
            135deg,
            #f7faf9,
            #eef6f3
        );

    border: 1px solid #d4e3df;

    border-radius: 8px;

    color: #42645f;

    white-space: nowrap;

    box-shadow:
        0 1px 3px rgba(25, 83, 76, 0.04);

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}

.wd-breadcrumb-item a {

    color: #3c6861 !important;

    text-decoration: none !important;

    font-weight: 650;
}

.wd-breadcrumb-item:hover {

    background:
        linear-gradient(
            135deg,
            #edf8f4,
            #e2f1ed
        );

    border-color: #9fc8bf;

    transform: translateY(-1px);

    box-shadow:
        0 3px 9px rgba(25, 83, 76, 0.08);
}

.wd-breadcrumb-item:hover a {
    color: var(--wd-teal-dark) !important;
}


/* فلش */

.wd-breadcrumb-arrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 17px;

    color: #93aaa5;

    font-size: 14px;
    font-weight: 700;

    user-select: none;
}


/* ماده جاری */

.wd-breadcrumb-current {

    display: inline-flex;
    align-items: center;

    box-sizing: border-box;

    min-height: 35px;

    padding: 5px 14px;

    background:
        linear-gradient(
            135deg,
            #e0f2ec,
            #d4ebe5
        );

    border: 1px solid #acd0c6;

    border-right: 3px solid var(--wd-teal);

    border-radius: 8px;

    color: var(--wd-teal-dark);

    font-weight: 800;

    white-space: nowrap;

    box-shadow:
        0 2px 7px rgba(20, 125, 115, 0.08);
}


/* =========================================================
   7. صفحه اصلی — هدر
   ========================================================= */

.wd-home {

    direction: rtl;
    text-align: right;

    font-family: var(--wd-font);
}


/* هدر اصلی */

.wd-hero {

    position: relative;

    margin-bottom: 28px;

    padding: 34px 30px;

    background:
        linear-gradient(
            135deg,
            #eaf7f3 0%,
            #e2f2ee 52%,
            #edf7f5 100%
        );

    border-right: 6px solid var(--wd-teal);

    border-radius: 13px;

    box-shadow: var(--wd-shadow);

    overflow: hidden;
}


/* یک هاله خیلی ظریف برای زنده‌تر شدن هدر */

.wd-hero::before {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    left: -45px;
    top: -55px;

    background: rgba(255,255,255,.35);

    border-radius: 50%;

    pointer-events: none;
}

.wd-hero::after {

    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: 70px;
    bottom: -45px;

    background: rgba(255,255,255,.22);

    border-radius: 50%;

    pointer-events: none;
}

.wd-hero-title {

    position: relative;
    z-index: 1;

    color: var(--wd-teal-dark);

    font-size: 30px;

    font-weight: 900;

    line-height: 1.7;
}

.wd-hero-subtitle {

    position: relative;
    z-index: 1;

    margin-top: 5px;

    color: #60736f;

    font-size: 15px;

    line-height: 2;
}

.wd-search-box {

    position: relative;
    z-index: 1;

    margin-top: 22px;
}


/* =========================================================
   8. فهرست قانون — سربرگ
   ========================================================= */

.wd-law-index {

    direction: rtl;
    text-align: right;

    margin: 24px 0;

    font-family: var(--wd-font);
}

.wd-law-index-head {

    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            #eef8f4,
            #e2f2ee
        );

    border-right: 5px solid var(--wd-teal);

    border-radius: 11px;

    margin-bottom: 16px;

    box-shadow:
        0 2px 10px rgba(25, 83, 76, 0.05);
}

.wd-law-index-title {

    color: var(--wd-teal-dark);

    font-size: 21px;

    font-weight: 850;

    line-height: 1.9;
}

.wd-law-index-description {

    margin-top: 5px;

    color: var(--wd-text-soft);

    font-size: 13px;

    line-height: 2;
}

.wd-law-index-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 12px;
}

.wd-law-index-meta span {

    display: inline-block;

    padding: 4px 9px;

    background: rgba(255,255,255,.82);

    border: 1px solid #d3e2de;

    border-radius: 6px;

    color: #52635f;

    font-size: 11px;
}

.wd-law-index-status {
    font-weight: 700;
}


/* =========================================================
   9. فصل قانون
   ========================================================= */

.wd-law-chapter {
    margin: 13px 0;
}

.wd-law-chapter a {

    display: block;

    color: inherit !important;

    text-decoration: none !important;
}

.wd-law-chapter-clickable {

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 64px;

    box-sizing: border-box;

    padding: 12px 18px;

    background:
        linear-gradient(
            135deg,
            #eef8f4 0%,
            #e3f1ed 100%
        );

    border: 1px solid #cfe1dc;

    border-right: 5px solid var(--wd-teal);

    border-radius: 10px;

    box-shadow:
        0 2px 8px rgba(25, 83, 76, 0.045);

    transition:
        background .17s ease,
        border-color .17s ease,
        transform .17s ease,
        box-shadow .17s ease;
}

.wd-law-chapter-clickable:hover {

    background:
        linear-gradient(
            135deg,
            #e5f5ef,
            #d9eee8
        );

    border-color: #a8cbc2;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(25, 83, 76, 0.09);
}

.wd-law-chapter-main {

    display: flex;

    flex-direction: column;

    min-width: 0;
}

.wd-law-chapter-title {

    color: #185e57;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.9;
}

.wd-law-chapter-description {

    margin-top: 2px;

    color: #71847f;

    font-size: 12px;

    line-height: 1.8;
}

.wd-law-chapter-arrow {

    flex: 0 0 auto;

    margin-right: 15px;

    width: 29px;
    height: 29px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #d8ebe5;

    border-radius: 50%;

    color: #27766d;

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   10. مبحث قانون
   ========================================================= */

.wd-law-topic {
    margin: 9px 0;
}

.wd-law-topic a {

    display: block;

    color: inherit !important;

    text-decoration: none !important;
}

.wd-law-topic-clickable {

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 55px;

    box-sizing: border-box;

    padding: 10px 16px;

    background:
        linear-gradient(
            135deg,
            #fbfcfc,
            #f5f9f7
        );

    border: 1px solid #dfe8e5;

    border-right: 4px solid #75a69e;

    border-radius: 9px;

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}

.wd-law-topic-clickable:hover {

    background:
        linear-gradient(
            135deg,
            #f2f8f6,
            #ebf4f1
        );

    border-color: #bfd6d0;

    transform: translateX(-2px);

    box-shadow:
        0 3px 9px rgba(25, 83, 76, 0.06);
}

.wd-law-topic-main {

    display: flex;

    flex-direction: column;

    min-width: 0;
}

.wd-law-topic-title {

    color: #486863;

    font-size: 14px;

    font-weight: 750;

    line-height: 1.9;
}

.wd-law-topic-description {

    color: #7b8986;

    font-size: 11px;

    line-height: 1.8;
}

.wd-law-topic-arrow {

    flex: 0 0 auto;

    margin-right: 12px;

    color: #70958f;

    font-size: 14px;
}


/* =========================================================
   11. ماده در فهرست
   ========================================================= */

.wd-law-item {
    margin: 6px 0;
}

.wd-law-item a {

    display: block;

    color: inherit !important;

    text-decoration: none !important;
}

.wd-law-item-clickable {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 50px;

    box-sizing: border-box;

    padding: 8px 13px;

    background: #ffffff;

    border: 1px solid #e1e9e6;

    border-radius: 8px;

    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.wd-law-item-clickable:hover {

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f1f8f5
        );

    border-color: #b8d3cc;

    transform: translateX(-2px);

    box-shadow:
        0 3px 9px rgba(25, 83, 76, 0.055);
}

.wd-law-item-number {

    flex: 0 0 auto;

    min-width: 72px;

    color: #24746b;

    font-size: 13px;

    font-weight: 850;
}

.wd-law-item-text {

    display: flex;

    flex-direction: column;

    flex: 1;

    min-width: 0;
}

.wd-law-item-title {

    color: #405552;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.8;
}

.wd-law-item-summary {

    margin-top: 1px;

    color: #7b8986;

    font-size: 11px;

    line-height: 1.8;
}

.wd-law-item-status {

    flex: 0 0 auto;

    margin-right: 9px;

    padding: 3px 8px;

    background: #edf7f3;

    border: 1px solid #d4e8e2;

    border-radius: 5px;

    color: #31786f;

    font-size: 10px;

    font-weight: 700;
}

.wd-law-item-arrow {

    flex: 0 0 auto;

    margin-right: 9px;

    color: #7d9993;

    font-size: 14px;
}


/* =========================================================
   12. جعبه‌های محتوایی
   ========================================================= */

.term-box {

    background:
        linear-gradient(
            135deg,
            #f7f3fb,
            #f1edf8
        );

    border-right: 5px solid var(--wd-purple);

    border-radius: 10px;

    padding: 18px 22px;

    margin: 18px 0;

    box-shadow:
        0 2px 9px rgba(118, 98, 154, 0.06);
}


.related-laws-box {

    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #f9f3e6
        );

    border-right: 5px solid var(--wd-gold);

    border-radius: 10px;

    padding: 18px 22px;

    margin: 20px 0;

    box-shadow:
        0 2px 9px rgba(185, 138, 50, 0.055);
}

.related-laws-title {

    color: var(--wd-gold-dark);

    font-weight: 800;

    font-size: 1.12em;
}


.judgment-box {

    background:
        linear-gradient(
            135deg,
            #f1f7fc,
            #eaf3fa
        );

    border-right: 5px solid var(--wd-blue);

    border-radius: 10px;

    padding: 20px 24px;

    margin: 18px 0;

    box-shadow:
        0 2px 9px rgba(57, 121, 167, 0.055);
}

.judgment-title {

    color: var(--wd-blue-dark);

    font-weight: 800;
}


.advisory-box {

    background:
        linear-gradient(
            135deg,
            #fcf7ef,
            #f7efe3
        );

    border-right: 5px solid #a9783b;

    border-radius: 10px;

    padding: 20px 24px;

    margin: 18px 0;

    box-shadow:
        0 2px 9px rgba(169, 120, 59, 0.055);
}


.explanation-box {

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fbfa
        );

    border-right: 5px solid var(--wd-teal);

    border-radius: 10px;

    padding: 20px 24px;

    margin: 18px 0;

    box-shadow:
        0 3px 11px rgba(20, 80, 70, 0.055);
}


/* =========================================================
   13. نکات و جستارهای وابسته
   ========================================================= */

.related-topics-box {

    background:
        linear-gradient(
            135deg,
            #f8faf9,
            #f2f6f5
        );

    border-right: 4px solid #7d918d;

    border-radius: 8px;

    padding: 18px 22px;

    margin: 20px 0;
}


/* =========================================================
   14. ناوبری قدیمی مواد
   ========================================================= */

.law-navigation {

    margin: 35px 0;

    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #edf8f5,
            #e4f2ee
        );

    border: 1px solid #c9e3df;

    border-radius: 12px;

    direction: rtl;
    text-align: center;

    box-shadow:
        0 3px 11px rgba(20, 100, 90, .05);
}

.law-navigation-title {

    color: var(--wd-teal-dark);

    font-weight: 800;

    font-size: 1.15em;

    margin-bottom: 12px;
}


/* =========================================================
   15. جدول قدیمی فهرست مواد
   ========================================================= */

.law-index-table {

    width: 100%;

    border-collapse: collapse;

    direction: rtl;

    margin: 20px 0;
}

.law-index-table th {

    background: var(--wd-teal);

    color: #ffffff;

    padding: 10px;
}

.law-index-table td {

    padding: 9px;

    border: 1px solid #ddd;
}

.law-index-table tr:nth-child(even) {

    background: #f8fbfa;
}

.law-index-table a {

    text-decoration: none;
}


/* =========================================================
   16. عنوان‌ها / سکشن‌های محتوایی
   ========================================================= */

.wd-section-title {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 28px 0 12px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--wd-border);

    color: var(--wd-text);

    font-size: 19px;

    font-weight: 800;
}

.wd-section-title::before {

    content: "";

    width: 4px;

    height: 25px;

    background: var(--wd-teal);

    border-radius: 3px;
}


/* =========================================================
   17. تست تعاملی — نسخه اصلی و نهایی
   ========================================================= */

.wd-test {

    direction: rtl;

    text-align: right;

    margin: 32px 0;

    font-family: var(--wd-font);
}

.wd-test-options {

    display: flex;

    flex-direction: column;

    gap: 9px;
}

.wd-test-options ul {

    margin: 0 !important;

    padding: 0 !important;
}

.wd-test-options li {

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* گزینه */

.wd-test-option {

    display: flex;

    align-items: center;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 15px;

    background: #ffffff;

    border: 1px solid #dfe7e5;

    border-radius: 8px;

    color: #37474f !important;

    font-family: var(--wd-font);

    font-size: 15px;

    line-height: 1.9;

    text-align: right;

    cursor: pointer;

    user-select: none;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.wd-test-option:hover {

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f0f8f6
        );

    border-color: var(--wd-teal);

    transform: translateY(-1px);

    box-shadow:
        0 3px 9px rgba(20, 125, 115, .07);
}


/* علامت گزینه */

.wd-test-option::before {

    content: "□";

    flex: 0 0 auto;

    margin-left: 11px;

    font-size: 21px;

    line-height: 1;

    color: #78909c;
}

.wd-test-option.wd-selected::before {

    content: "☑";
}


/* صحیح */

.wd-test-option.wd-correct {

    background:
        linear-gradient(
            90deg,
            #edf9f2,
            #e5f5ec
        );

    border-color: var(--wd-success);

    color: #276b35 !important;

    box-shadow:
        0 3px 10px rgba(75, 155, 87, .08);
}

.wd-test-option.wd-correct::before {

    color: var(--wd-success);
}


/* غلط */

.wd-test-option.wd-wrong {

    background:
        linear-gradient(
            90deg,
            #fff3f1,
            #fff0ed
        );

    border-color: var(--wd-danger);

    color: var(--wd-danger-dark) !important;
}

.wd-test-option.wd-wrong::before {

    content: "☒";

    color: var(--wd-danger);
}


/* نتیجه */

.wd-test-result-message.wd-result-correct {

    color: #287653;
}

.wd-test-result-message.wd-result-wrong {

    color: #a04444;
}

.wd-test.wd-test-finished .wd-test-option {

    cursor: default;
}

.wd-test.wd-test-finished .wd-test-option:hover {

    transform: none;
}


/* نوع سؤال */

.wd-test-source {

    font-size: 12px;

    font-weight: normal;

    color: var(--wd-purple);

    white-space: nowrap;
}


/* =========================================================
   18. بانک تست قدیمی — حفظ سازگاری
   ========================================================= */

.test-bank {
    margin: 25px 0;
}

.test-card {

    border-radius: 12px;

    padding: 20px 22px;

    margin: 22px 0;

    box-shadow:
        0 3px 12px rgba(0,0,0,.07);

    direction: rtl;
    text-align: right;
}

.test-official {

    background: var(--wd-blue-soft);

    border-right: 6px solid var(--wd-blue);
}

.test-official .test-label {
    color: var(--wd-blue-dark);
}

.test-authored {

    background: var(--wd-purple-soft);

    border-right: 6px solid var(--wd-purple);
}

.test-authored .test-label {
    color: var(--wd-purple-dark);
}

.test-trap {

    background: var(--wd-coral-soft);

    border-right: 6px solid var(--wd-coral);
}

.test-trap .test-label {
    color: var(--wd-coral-dark);
}

.test-label {

    font-weight: bold;

    font-size: .92em;

    margin-bottom: 10px;
}

.test-option {

    display: block;

    background: rgba(255,255,255,.72);

    border: 1px solid #ddd;

    border-radius: 8px;

    padding: 10px 13px;

    margin: 8px 0;

    cursor: pointer;
}

.test-option:hover {
    background: #ffffff;
}

.test-answer {

    margin-top: 15px;

    padding: 15px 18px;

    background: var(--wd-success-soft);

    border-right: 4px solid var(--wd-success);

    border-radius: 8px;
}

.test-answer-title {

    color: var(--wd-success-dark);

    font-weight: bold;
}

.exam-tip {

    background:
        linear-gradient(
            135deg,
            #fff9df,
            #fff5d1
        );

    border-right: 4px solid #d0a928;

    border-radius: 8px;

    padding: 13px 16px;

    margin-top: 12px;
}


/* =========================================================
   19. منابع و مآخذ — دو ستونه
   ========================================================= */

.wd-references {

    direction: rtl;

    text-align: right;

    font-family: var(--wd-font);

    font-size: 13px;

    color: #52615e;
}

.wd-references ol {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 28px;

    row-gap: 2px;

    margin: 0 !important;

    padding: 0 !important;

    list-style: none !important;

    counter-reset: wd-reference;
}

.wd-references li {

    position: relative;

    box-sizing: border-box;

    margin: 0 !important;

    padding: 4px 27px 4px 0 !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    line-height: 1.9;

    min-height: 0;

    counter-increment: wd-reference;
}

.wd-references li::before {

    content: counter(wd-reference);

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: var(--wd-teal);

    font-size: 11px;

    font-weight: 800;
}

.wd-references a {

    color: var(--wd-cyan);

    text-decoration: none;
}

.wd-references a:hover {

    color: var(--wd-teal-dark);

    text-decoration: underline;
}

.wd-references .mw-cite-backlink {

    margin-right: 4px;

    white-space: nowrap;
}

.wd-references .mw-cite-backlink a {

    color: var(--wd-teal);

    font-weight: bold;
}


/* =========================================================
   20. جعبه ماده — هماهنگی رنگی بدون تخریب Template
   =========================================================

   نکته:
   خود الگو:جعبه ماده دارای طراحی نهایی inline است.
   بنابراین اینجا فقط عناصر داخلی‌ای را که در صورت وجود
   کلاس داشته باشند هماهنگ می‌کنیم.

   ========================================================= */

.law-article-box a {

    color: var(--wd-cyan);

}

.law-article-box a:hover {

    color: var(--wd-teal-dark);
}


/* =========================================================
   21. جزئیات بازشونده
   ========================================================= */

.law-collapsible {

    margin: 20px 0;

    border: 1px solid var(--wd-border);

    border-radius: 10px;

    background: #ffffff;

    overflow: hidden;
}

.law-collapsible summary {

    cursor: pointer;

    padding: 13px 17px;

    background:
        linear-gradient(
            135deg,
            #f1f8f5,
            #eaf4f1
        );

    color: var(--wd-teal-dark);

    font-weight: 800;

    list-style: none;
}

.law-collapsible summary::-webkit-details-marker {
    display: none;
}

.law-collapsible > div,
.law-collapsible > p {
    padding: 0 18px;
}


/* =========================================================
   22. لیست‌ها
   ========================================================= */

.law-page ul,
.law-page ol {
    line-height: 2.1;
}

.law-page li {
    margin-bottom: 4px;
}


/* =========================================================
   23. جدول‌های عمومی
   ========================================================= */

.mw-body table {
    direction: rtl;
}


/* =========================================================
   24. موبایل
   ========================================================= */

@media (max-width: 700px) {

    .wd-hero {

        padding: 25px 20px;

        border-right-width: 5px;
    }

    .wd-hero-title {
        font-size: 24px;
    }

    .wd-hero-subtitle {
        font-size: 13px;
    }

    .wd-breadcrumb {

        gap: 5px;

        margin: 10px 0 18px;

        font-size: 12px;
    }

    .wd-breadcrumb-item,
    .wd-breadcrumb-current {

        min-height: 32px;

        padding: 4px 9px;

        border-radius: 7px;
    }

    .wd-breadcrumb-arrow {

        width: 12px;

        font-size: 12px;
    }

    .wd-law-index-head {

        padding: 16px 15px;
    }

    .wd-law-index-title {
        font-size: 18px;
    }

    .wd-law-chapter-clickable {

        min-height: 55px;

        padding: 10px 12px;
    }

    .wd-law-chapter-title {
        font-size: 14px;
    }

    .wd-law-topic-clickable {
        padding: 9px 11px;
    }

    .wd-law-topic-title {
        font-size: 13px;
    }

    .wd-law-item-clickable {
        padding: 8px 10px;
    }

    .wd-law-item-number {

        min-width: 63px;

        font-size: 12px;
    }

    .wd-law-item-title {
        font-size: 12px;
    }

    .wd-law-item-summary {
        font-size: 10px;
    }

    .wd-references ol {

        grid-template-columns: 1fr;

        column-gap: 0;
    }
}


/* =========================================================
   25. چاپ
   ========================================================= */

@media print {

    .wd-breadcrumb {

        margin-bottom: 15px;
    }

    .wd-breadcrumb-item,
    .wd-breadcrumb-current {

        background: #ffffff !important;

        border-color: #999 !important;

        color: #000 !important;
    }

    .wd-breadcrumb-arrow {
        color: #555 !important;
    }

    .wd-test-option {

        break-inside: avoid;
    }

    .law-navigation {

        break-inside: avoid;
    }
}