/* MMX2 (Grid, no tabs) - classes are isolated from mmx- */
@media (min-width: 768px) {
/* Wrapper */
.mmx2-wrapper {
    position: relative;
}

/* حالت داخلی (اگر trigger خالی باشد) */
.mmx2-wrapper .mmx2-menu {
    display: none;
}
.mmx2-cols {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
/* پنل */
.mmx2-panel {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 10000;
    display: none;
    /* دقت: هیچ غلط املایی! */
    width: 1066px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    border-radius: 8px;
}

.mmx2-wrapper.is-open .mmx2-panel {
    display: block;
}

/* در RTL، از سمت راست باز شود */
.mmx2-wrapper.is-rtl .mmx2-panel {
    background-color: #F7FAF3;
    inset-inline-start: auto;
    inset-inline-end: 0;
    direction: rtl;
    text-align: right;
}

/* Grid */
.mmx2-grid {
    display: grid;
    grid-template-columns: repeat(var(--mmx2-cols, 3), minmax(0, 1fr));
    gap: 24px;
    background: linear-gradient(270deg, #EDF3E2 0%, #F7FAF3 100%);
    border-radius: 8px 8px 0 0;
    padding: 20px;
}

/* ستون/گروه */
.mmx2-group {
    min-width: 0;
}

.mmx2-subtitle {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 800;
    color: #2b2b2b;
}

.mmx2-list {
    padding: 16px 0px !important;
    /* بهتره از property منطقی استفاده کنیم که RTL/LTR رو خودش رعایت کنه */
    border-inline-end: 2px solid #0000000a;
    /* معادل border-left در LTR و border-right در RTL */
    width: 25%;
    list-style: none;
}

/* از ستون سوم به بعد استایل حذف شود (یعنی فقط 1 و 2 داشته باشند) */
.mmx2-cols>.mmx2-list:nth-of-type(n+3) {
    border-inline-end: 0;
}
.mmx2-list li {
    margin: 8px 24px 8px 4px;
}

.mmx2-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #222;
    line-height: 1.6;
    padding: 8px 0;
}

.mmx2-wrapper.is-rtl .mmx2-list li a {
    flex-direction: row-reverse;
}

.mmx2-list li:hover  {
    background: linear-gradient(270deg, #EDF3E2 0%, #F7FAF3 100%);
    border-inline-start: 2px solid #88B04B;
    border-radius: 8px;
    padding-inline-start: 8px;
}

/* Footer banner (optional) */
.mmx2-footer img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 8px 8px;
    margin-top: 12px;
}

/* جلوگیری از قطع شدن زیر والدهای المنتور */
.elementor-section,
.elementor-container,
.elementor-widget {
    overflow: visible !important;
}

.mmx2-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mmx2-media {
    padding: 24px;
    display: flex;
    align-items: flex-end;
	}}