﻿
.we-help-section .imgs-grid img {
    display: block;
    width: 100%;
    height: auto; /* نسبت تصویر حفظ شود */
}
/* خط جداکننده قشنگ */
.tn-divider {
    height: 1px;
    border: 0;
    background: linear-gradient(to right, transparent, rgba(0,0,0,.15), transparent);
    margin: 24px 0;
}
/* مودال گالری */
.tn-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.tn-modal {
    background: #000;
    padding: 0;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

    .tn-modal img {
        max-width: 90vw;
        max-height: 90vh;
        display: block;
    }

.tn-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.2);
    border: none;
    padding: .5rem .75rem;
    cursor: pointer;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: .5rem
}

.tn-prev {
    left: .5rem
}

.tn-next {
    right: .5rem
}

.tn-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: rgba(255,255,255,.25);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: .25rem .5rem;
    border-radius: .5rem;
    cursor: pointer
}

/* ویدیو بزرگ، ریسپانسیو و وسط‌چین */
.tn-video-wrap {
    max-width: 800px; /* اگر بزرگ/کوچک‌تر می‌خوای تغییر بده */
    margin: 24px auto 0; /* وسط‌چین */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

    .tn-video-wrap video {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 16 / 9;
        background: #000;
    }
/* راست‌چین قطعی و خنثی کردن استایل‌های قالب برای این لیست */
#news-meta {
    text-align: right !important;
    direction: rtl !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
}

    /* آیتم تاریخ بدون بولت و در یک خط */
    #news-meta li.date-item {
        display: block !important; /* کل عرض را بگیرد */
        list-style: none !important;
        white-space: nowrap !important; /* نشکند */
        margin: 0 !important;
        padding: 0 !important;
    }

        /* بولت‌های سفارشی قالب را کاملاً حذف کن */
        #news-meta li.date-item::before,
        #news-meta li.date-item::after {
            content: none !important;
            display: none !important;
        }

    /* «تاریخ» بزرگ و بولد؛ اعداد کوچیک‌تر */
    #news-meta .date-label {
        font-weight: 700 !important;
        font-size: 1.2rem !important;
        margin-left: 6px !important;
    }

    #news-meta .date-value {
        font-size: 1rem !important;
        color: #555 !important;
    }

