/* Footer V2 — Base Styles (widgetized, light background) */
/* همه‌چیز داخل .mlm-footer-v2 ایزوله است. */

.mlm-footer-v2{
    background: #ffffff; /* فوتر سفید */
    color: #334155;      /* متن پیش‌فرض خاکستری-تیره */
    padding-top: 24px;
}

.mlm-footer-v2 .mlm-footer-title{
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: #0f172a; /* تیترها تیره */
}

.mlm-footer-v2 a{
    color: #0f172a; text-decoration: none;
}
.mlm-footer-v2 a:hover{ opacity: .9; }

/* --- HERO (بالا) فقط ظرف آن تیره است --- */
.mlm-footer-v2 .mlm-footer-hero{
    padding: 24px 0;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.mlm-footer-v2 .mlm-footer-hero .container{
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0;              /* پَدینگ از این ظرف حذف شد */
    color: inherit;
}


/* اگر جایی با pseudo-element هاله ساخته شده بود، خاموشش کن */
.mlm-footer-v2 .mlm-footer-hero:before,
.mlm-footer-v2 .mlm-footer-hero:after,
.mlm-footer-v2 .mlm-footer-hero .container:before,
.mlm-footer-v2 .mlm-footer-hero .container:after{
    content: none !important;
}

.mlm-footer-v2 .mlm-footer-hero .mlm-footer-title{ color:#e2e8f0; }
.mlm-footer-v2 .mlm-footer-hero a{ color:#e2e8f0; }

/* --- چهار ستون (روی زمینه سفید) --- */
.mlm-footer-v2 .mlm-footer-cols{
    padding: 24px 0 8px;
    border-top: 1px solid rgba(15,23,42,.08);
}
.mlm-footer-v2 .mlm-footer-col-item{ margin-bottom: 20px; }
.mlm-footer-v2 .mlm-footer-col-item ul{ margin: 0; padding: 0; list-style: none; }
.mlm-footer-v2 .mlm-footer-col-item li{ margin: 6px 0; }

/* --- درباره ما / اینماد (تمام‌عرض) --- */
.mlm-footer-v2 .mlm-footer-about{
    padding: 18px 0;
    border-top: 1px solid rgba(15,23,42,.08);
}
.mlm-footer-v2 .mlm-footer-about .mlm-footer-about-item{
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    color:#334155;
}

/* --- نوار انتهایی (کپی‌رایت/شبکه‌ها) --- */
.mlm-footer-v2 .mlm-footer-bottom{
    border-top: 1px solid rgba(15,23,42,.12);
    padding: 14px 0 18px;
    font-size: 14px;
    color: #64748b;
}
.mlm-footer-v2 .mlm-footer-bottom .mlm-footer-bottom-left-item,
.mlm-footer-v2 .mlm-footer-bottom .mlm-footer-bottom-right-item{
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mlm-footer-v2 .mlm-footer-bottom .mlm-footer-bottom-right-item a{
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
    align-items: center; justify-content: center;
    background: #f1f5f9; color:#0f172a;
}

/* ریسپانسیو‌های ساده */
@media (max-width: 575.98px){
    .mlm-footer-v2 .mlm-footer-hero .container{ border-radius: 0; padding: 0; }
    .mlm-footer-v2 .mlm-footer-title{ font-size: 15px; }
}
/* === Patch: Footer Hero full-width like cards === */
.mlm-footer-v2 .mlm-footer-hero > .container{
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Side padding for all footer sections (match Hero) */
.mlm-footer-v2 .mlm-footer-hero > .container,
.mlm-footer-v2 .mlm-footer-cols > .container,
.mlm-footer-v2 .mlm-footer-about > .container,
.mlm-footer-v2 .mlm-footer-bottom > .container{
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
}

/* کمی جمع‌تر روی عرض‌های کوچکتر */
@media (max-width: 1200px){
    .mlm-footer-v2 .mlm-footer-hero > .container,
    .mlm-footer-v2 .mlm-footer-cols > .container,
    .mlm-footer-v2 .mlm-footer-about > .container,
    .mlm-footer-v2 .mlm-footer-bottom > .container{
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}
@media (max-width: 768px){
    .mlm-footer-v2 .mlm-footer-hero > .container,
    .mlm-footer-v2 .mlm-footer-cols > .container,
    .mlm-footer-v2 .mlm-footer-about > .container,
    .mlm-footer-v2 .mlm-footer-bottom > .container{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/* Footer V2: make the 4th column wider on lg+ screens (Ticket widget column) */
@media (min-width: 992px){
    .mlm-footer-v2 .mlm-footer-cols .row > div:nth-child(1){flex:0 0 16.6667%;max-width:16.6667%;}
    .mlm-footer-v2 .mlm-footer-cols .row > div:nth-child(2){flex:0 0 16.6667%;max-width:16.6667%;}
    .mlm-footer-v2 .mlm-footer-cols .row > div:nth-child(3){flex:0 0 25.0000%;max-width:25.0000%;}
    .mlm-footer-v2 .mlm-footer-cols .row > div:nth-child(4){flex:0 0 41.6667%;max-width:41.6667%;}
}
/* === Footer Bottom: force single column (full-width) === */
.mlm-footer-v2 .mlm-footer-bottom .row{
    display: flex;
    flex-wrap: wrap;
}

/* هر ستونی داخل نوار پایینی، صددرصد عرض بگیرد */
.mlm-footer-v2 .mlm-footer-bottom .row > div{
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
