﻿ 
.train-contentpage-p {
    direction: rtl;
    text-align: right;
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px 45px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(30,60,90,.06);
}

/* ===== تیترها ===== */
.train-contentpage-p h2 {
    color: #1a365d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    margin: 38px 0 16px;
    padding-right: 16px;
    border-right: 4px solid #3182ce;
}

    .train-contentpage-p h2:first-of-type {
        margin-top: 10px;
    }

/* ===== پاراگراف‌ها ===== */
.train-contentpage-p p {
    font-size: 15px;
    line-height: 2.2 !important;
    color: #4a5568;
    text-align: justify;
    margin: 14px 0;
}

    .train-contentpage-p p strong {
        color: #2b6cb0;
    }

/* ===== لینک‌ها — همیشه inline ===== */
.train-contentpage-p a {
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #90cdf4;
    transition: color .2s, border-color .2s;
}

    .train-contentpage-p a:hover {
        color: #1a365d;
        border-bottom: 1px solid #2b6cb0;
    }

/* ===== لیست‌ها — عمودی ===== */
.train-contentpage-p ul {
    list-style: none;
    margin: 22px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .train-contentpage-p ul li {
        position: relative;
        padding: 14px 48px 14px 16px;
        background: #f8fafc;
        border: 1px solid #edf2f7;
        border-radius: 10px;
        font-size: 14.5px;
        color: #2d3748;
        line-height: 2 !important;
        transition: background .2s, border-color .2s;
    }

        .train-contentpage-p ul li:hover {
            background: #f0f7ff;
            border-color: #bfdbfe;
        }

        /* ===== آیکون چک‌مارک ===== */
        .train-contentpage-p ul li::before {
            content: "✓";
            position: absolute;
            right: 14px;
            top: 16px;
            width: 22px;
            height: 22px;
            line-height: 22px;
            text-align: center;
            background: #e6fffa;
            color: #2f855a;
            border-radius: 50%;
            font-size: 12px;
            font-weight: 700;
        }

        /* ===== عنوان‌های bold داخل لیست ===== */
        .train-contentpage-p ul li strong {
            color: #1a365d;
            font-weight: 700;
        }

/* ===== موبایل ===== */
@media (max-width:768px) {
    .train-contentpage-p {
        padding: 25px 20px;
        margin: 20px 12px;
    }

        .train-contentpage-p h2 {
            font-size: 18px;
        }
}

 