﻿ 
.flight-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);
}

/* ===== تیترها ===== */
.flight-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;
}

    .flight-contentpage-p h2:first-of-type {
        margin-top: 10px;
    }

/* ===== پاراگراف‌ها ===== */
.flight-contentpage-p p {
    font-size: 15px;
    line-height: 2.2;
    color: #4a5568;
    text-align: justify;
    margin: 14px 0;
}

    .flight-contentpage-p p strong {
        color: #2b6cb0;
    }

/* ===== لینک‌ها — همیشه inline ===== */
.flight-contentpage-p a {
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #90cdf4;
    transition: color .2s, border-color .2s;
}

    .flight-contentpage-p a:hover {
        color: #1a365d;
        border-bottom: 1px solid #2b6cb0;
    }

/* ===== لیست‌های بدون شماره (ul) ===== */
.flight-contentpage-p ul {
    list-style: none;
    margin: 22px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .flight-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;
        transition: background .2s, border-color .2s;
    }

        .flight-contentpage-p ul li:hover {
            background: #f0f7ff;
            border-color: #bfdbfe;
        }

        .flight-contentpage-p ul li::before {
            content: "✓";
            position: absolute;
            right: 14px;
            top: 16px;
            width: 24px;
            height: 24px;
            line-height: 24px;
            text-align: center;
            background: #e6fffa;
            color: #2f855a;
            border-radius: 50%;
            font-size: 12px;
            font-weight: 700;
        }

/* ===== لیست‌های شماره‌دار (ol) با اعداد فارسی ===== */
.flight-contentpage-p ol {
    list-style: none;
    counter-reset: step;
    margin: 22px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .flight-contentpage-p ol li {
        counter-increment: step;
        position: relative;
        padding: 16px 52px 16px 16px;
        background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-right: 4px solid #3182ce;
        border-radius: 10px;
        font-size: 14.5px;
        color: #2d3748;
        line-height: 2;
        transition: all .2s ease;
    }

        .flight-contentpage-p ol li:hover {
            background: linear-gradient(135deg, #ebf4ff 0%, #f0f7ff 100%);
            border-right-color: #2b6cb0;
            transform: translateX(-3px);
        }

        .flight-contentpage-p ol li::before {
            content: counter(step, persian);
            position: absolute;
            right: 12px;
            top: 14px;
            width: 28px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            background: #3182ce;
            color: #fff;
            border-radius: 50%;
            font-size: 13px;
            font-weight: 700;
            box-shadow: 0 2px 6px rgba(49,130,206,.3);
        }

        /* fallback اعداد فارسی برای همه مرورگرها */
        .flight-contentpage-p ol li:nth-child(1)::before {
            content: "۱";
        }

        .flight-contentpage-p ol li:nth-child(2)::before {
            content: "۲";
        }

        .flight-contentpage-p ol li:nth-child(3)::before {
            content: "۳";
        }

        .flight-contentpage-p ol li:nth-child(4)::before {
            content: "۴";
        }

        .flight-contentpage-p ol li:nth-child(5)::before {
            content: "۵";
        }

        .flight-contentpage-p ol li:nth-child(6)::before {
            content: "۶";
        }

        .flight-contentpage-p ol li:nth-child(7)::before {
            content: "۷";
        }

        .flight-contentpage-p ol li:nth-child(8)::before {
            content: "۸";
        }

        .flight-contentpage-p ol li:nth-child(9)::before {
            content: "۹";
        }

        .flight-contentpage-p ol li:nth-child(10)::before {
            content: "۱۰";
        }

        /* ===== عنوان‌های bold داخل لیست‌ها ===== */
        .flight-contentpage-p ul li strong,
        .flight-contentpage-p ol li strong {
            color: #1a365d;
            font-weight: 700;
        }

/* ===== موبایل ===== */
@media (max-width:768px) {
    .flight-contentpage-p {
        padding: 25px 20px;
        margin: 20px 12px;
    }

        .flight-contentpage-p h2 {
            font-size: 18px;
        }

        .flight-contentpage-p ul li,
        .flight-contentpage-p ol li {
            padding-right: 44px;
            font-size: 14px;
        }
}

 
