/* =========================================
   بخش آموزش
========================================= */

.didaf-training-guide {
    width: 100%;
    background: #fff;
    direction: rtl;
    padding: 20px 0 70px;
}


/* =========================================
   کانتینر اصلی
========================================= */

.didaf-training-container {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}


/* =========================================
   نوشته کوچک «آموزش»
========================================= */

.didaf-training-label {
    color: #ed1c24;
    font-family: "yekan-bakh-fn", "IRANYekan", Tahoma, sans-serif !important;

    font-size: 15px;
    font-weight: 700;

    text-align: right;

    margin-bottom: 42px;
}


/* =========================================
   عنوان اصلی
========================================= */

.didaf-training-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    margin-bottom: 5px;
}


.didaf-training-heading h2 {
    margin: 0;

    color: #505050;

    font-family:
        "yekan-bakh-fn",
        "IRANYekan",
        Tahoma,
        sans-serif !important;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.5;
}


/* خط قرمز زیر عنوان */

.didaf-training-heading span {
    display: block;

    width: 145px;
    height: 3px;

    background: #ed1c24;

    margin-top: 30px;
}


/* =========================================
   توضیحات
========================================= */

.didaf-training-description {
    width: 100%;

    margin: 0 0 18px;

    color: #858585;

    font-family:
        "yekan-bakh-fn",
        "IRANYekan",
        Tahoma,
        sans-serif !important;

    font-size: 16px;
    font-weight: 400;

    line-height: 2.35;

    text-align: right;
}


/* =========================================
   گرید ویدئوها
========================================= */

.didaf-training-videos {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px;

    margin-top: 13px;
}


/* =========================================
   کارت
========================================= */

.didaf-training-card {
    width: 100%;

    text-align: center;
}


/* =========================================
   IFRAME
========================================= */

.didaf-iframe-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #222;
}


.didaf-iframe-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================
   عنوان ویدئو
========================================= */

.didaf-training-card h3 {
    margin: 16px 0 0;

    color: #222;

    font-family:
        "yekan-bakh-fn",
        "IRANYekan",
        Tahoma,
        sans-serif !important;

    font-size: 17px;
    font-weight: 500;

    line-height: 1.8;

    text-align: center;
}


/* =========================================
   ریسپانسیو
========================================= */

@media (max-width: 1000px) {

    .didaf-training-videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}


@media (max-width: 650px) {

    .didaf-training-guide {
        padding: 15px 0 50px;
    }

    .didaf-training-container {
        max-width: calc(100% - 30px);
    }

    .didaf-training-label {
        margin-bottom: 25px;
    }

    .didaf-training-heading {
        display: block;
    }

    .didaf-training-heading h2 {
        font-size: 24px;
    }

    .didaf-training-heading span {
        width: 100px;
        margin-top: 5px;
    }

    .didaf-training-description {
        font-size: 14px;
        line-height: 2;
        margin-top: 12px;
    }

    .didaf-training-videos {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .didaf-training-card h3 {
        font-size: 16px;
    }

}