/* 12-وبلاگ دوم */
.mlm-blog2 {
    padding: 0
}

.mlm-blog2 .b2-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
    margin-bottom: 18px
}

.mlm-blog2 .b2-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.mlm-blog2 .b2-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-blog2 .b2-title .b2-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fea000;
    color: #fff;
    font-size: 20px
}

.mlm-blog2 .b2-title-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mlm-blog2 .b2-title-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
}

.mlm-blog2 .b2-subtitle {
    font-size: .85rem;
    color: #94a3b8;
    font-weight: 300;
}

.mlm-blog2 .b2-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap
}

.mlm-blog2 .b2-actions .b2-tab {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: .9rem;
}

.mlm-blog2 .b2-actions .b2-tab.active {
    color: #1f2937;
    font-weight: 600;
}

.mlm-blog2 .b2-actions .b2-sep {
    color: #d1d5db;
}

.mlm-blog2 .b2-seeall {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap
}

.mlm-blog2 .b2-underline {
    display: none;
    height: 1px;
    background: rgba(15, 23, 42, .10);
    grid-row: 2;
    grid-column: 1 / -2
}

.mlm-blog2 .b2-header.no-seeall .b2-underline {
    grid-column: 1 / -1
}

.mlm-blog2 .b2-header.has-underline .b2-underline {
    display: block
}

.mlm-blog2 .b2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--b2-gap, 16px);
}

.mlm-blog2 .b2-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: none;
    position: relative;
}

.mlm-blog2 .b2-card:hover {
    transform: none;
    box-shadow: none
}

.mlm-blog2 .b2-thumb {
    display: block;
    position: relative
}

.mlm-blog2 .b2-thumb img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block
}

/* حباب سفید روی تصویر */
.mlm-blog2 .b2-bubble {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    padding: 14px 16px;
}

.mlm-blog2 .b2-name {
    margin: 0 0 8px;
    font-size: .95rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mlm-blog2 .b2-name a {
    text-decoration: none
}

.mlm-blog2 .b2-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    opacity: .85
}

.mlm-blog2 .b2-dot {
    opacity: .5
}

.mlm-blog2 .b2-cat {
    text-decoration: none
}

.mlm-blog2 .b2-body {
    padding: 14px 16px
}

.mlm-blog2 .b2-name {
    margin: 0 0 10px;
    font-size: .95rem
}

.mlm-blog2 .b2-name a {
    text-decoration: none
}

.mlm-blog2 .b2-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    opacity: .75
}

.mlm-blog2 .b2-dot {
    opacity: .5
}

.mlm-blog2 .b2-empty {
    padding: 24px;
    color: #777
}

/* ریسپانسیو */
@media (max-width:1200px) {
    .mlm-blog2 .b2-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:992px) {
    .mlm-blog2 .b2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:576px) {
    .mlm-blog2 .b2-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- رنگ‌های خنثی برای لینک‌های ابزارک وبلاگ دوم ---------- */
/* عنوان نوشته داخل حباب */
.mlm-blog2 .b2-bubble .b2-name a {
    color: #6b7280 !important;
    /* خاکستری */
    text-decoration: none;
    display: inline-block;
    min-height: 44px;
    padding: 10px 0;
    margin: -10px 0;
}

.mlm-blog2 .b2-bubble .b2-name a:hover {
    color: #374151 !important;
}

/* کمی تیره‌تر در هاور */

/* دسته‌بندی کنار تاریخ */
.mlm-blog2 .b2-bubble .b2-cat {
    color: #6b7280 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px;
    margin: -6px 0;
}

.mlm-blog2 .b2-bubble .b2-cat:hover {
    color: #374151 !important;
}

/* متن‌های متا (تاریخ و نقطه جداکننده) */
.mlm-blog2 .b2-bubble .b2-meta,
.mlm-blog2 .b2-bubble .b2-date,
.mlm-blog2 .b2-bubble .b2-dot {
    color: #6b7280 !important;
    opacity: 1;
    /* اگر قبلاً با opacity کم‌رنگ شده بود، خنثی می‌کنیم */
}

/* دکمه «مشاهده بلاگ» بالا */
.mlm-blog2 .b2-seeall {
    color: #6b7280 !important;
    border-color: rgba(0, 0, 0, .12);
}

.mlm-blog2 .b2-seeall .dashicons {
    color: #6b7280 !important;
}

.mlm-blog2 .b2-seeall:hover {
    color: #374151 !important;
    border-color: rgba(0, 0, 0, .18);
}

.mlm-blog2 .b2-actions .b2-sep-mobile,
.mlm-blog2 .b2-actions .b2-seeall,
.mlm-blog2 .b2-actions .b2-tab {
    transition: color .2s ease;
}

.mlm-blog2 .b2-actions .b2-tab:hover {
    color: #0f172a;
}

.mlm-blog2 .b2-actions .b2-seeall:hover {
    color: #1d4ed8;
}

@media (max-width:576px) {
    .mlm-blog2 .b2-actions .b2-tab {
        font-size: .78rem;
    }

    .mlm-blog2 .b2-seeall {
        display: none;
    }
}