/*
Theme Name: Roboyad
Author: ali parsanasab
Description: سایت تربیت معلم
*/


/* ---------------------------------- */
/* font */
/* ---------------------------------- */

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 100;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Thin.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 200;
    src: url('./assets/Webfonts/IRANYekanXFaNum-UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 300;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Light.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 500;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Medium.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 600;
    src: url('./assets/Webfonts/IRANYekanXFaNum-DemiBold.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 800;
    src: url('./assets/Webfonts/IRANYekanXFaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 900;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Black.woff2') format('woff2');
}
@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 950;
    src: url('./assets/Webfonts/IRANYekanXFaNum-ExtraBlack.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: 1000;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Heavy.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('./assets/Webfonts/IRANYekanXFaNum-Regular.woff2') format('woff2');
}




/* Ultra Light - معمولاً 200 */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 200;*/
/*    src: url('./assets/Webfonts/morana/Morabba-UltraLight.ttf') format('truetype');*/
/*}*/

/* Light - 300 */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 300;*/
/*    src: url('./assets/Webfonts/morana/Morabba-Light.ttf') format('truetype');*/
/*}*/

/* Regular - 400 (پیش‌فرض) */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    src: url('./assets/Webfonts/morana/Morabba-Regular.ttf') format('truetype');*/
/*}*/

/* Medium - 500 */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 500;*/
/*    src: url('./assets/Webfonts/morana/Morabba-Medium.ttf') format('truetype');*/
/*}*/

/* SemiBold - 600 */
@font-face {
    font-family: 'FMoraba';
    font-style: normal;
    font-weight: 600;
    src: url('./assets/Webfonts/morana/Morabba-SemiBold.ttf') format('truetype');
}

/* Bold - 700 */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 700;*/
/*    src: url('./assets/Webfonts/morana/Morabba-Bold.ttf') format('truetype');*/
/*}*/

/* Heavy - 800 */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 800;*/
/*    src: url('./assets/Webfonts/morana/Morabba-Heavy.ttf') format('truetype');*/
/*}*/

/* ExtraBold - 800 یا 900 (بسته به فونت) */
/*@font-face {*/
/*    font-family: 'FMoraba';*/
/*    font-style: normal;*/
/*    font-weight: 800; !* یا 900 - ببینید کدوم بهتر نشون میده *!*/
/*    src: url('./assets/Webfonts/morana/Morabba-ExtraBold.ttf') format('truetype');*/
/*}*/

/* Black - 900 */
/*  */


h1, h2, h3, h4, h5, h6,input, textarea ,p ,ul ,li , button , select, code {
    font-family: IRANYekanXFaNum !important;
}



/* ---------------------------------- */
/* seting */
/* ---------------------------------- */


:root {
    --background_color: #FAFBFC;
    --background_color_2: #FEEFCD;

    --box_color_1: #FFFFFF;

    --border_color_1: #F3F3F3;
    --border_color_2: #FBC447;

    --text_color_1: #424242;
    --text_color_2: #110F09;
    --text_color_3: #373737;
    --text_color_4: #37474F;
    --text_color_5: #90A4AE;

    --text_color_6: #321c00;
    --text_color_7: #888F9D;

    --text_color_8: #E5E7EB;
    --text_color_9: #9AA1AE;

}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.row {
    width: 100% !important;
    margin: 0 !important;
}

a {
    text-decoration: none;
}

.mb-5 {
    margin-bottom: 5em;
}

.mt-5 {
    margin-top: 5em;
}

body {
    font-family: IRANYekanXFaNum  !important;
    background-color: var(--background_color);
    margin: 0;
    padding: 0;
}


.container {
    padding: 0 !important;
    max-width: 1140px !important;
}

.row {
    margin: 0 !important;
    width: 100%;
}

.roboyad_dont_have_padding {
    padding: 0 !important;
}

.roboyad_item_padding {
    padding-right: 12px !important;
    padding-left: 12px !important;
}

.box_shadow_label {
    box-shadow: 0px 3px 26px 0px rgba(167, 167, 167, 0.25);
}


@media (max-width: 767px) {
    .container_header_logo_menu_loginButten {
        margin-top: -26px !important;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

.roboyad_swiper_handel .swiper-wrapper {
    padding-bottom: 55px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space_betwin {
    margin-top: 500px;
}

.swiper-pagination-bullet {
    width: 20px !important;
    border-radius: 10px !important;
    height: 8px !important;
    background-color: rgba(255, 199, 131, 0.45) !important;
    opacity: 1 !important;
}


.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #FF6D4D !important;
}


@media (max-width: 767px) {
    .container_header_logo_menu_loginButten {
        margin-top: -26px !important;
    }

    .swiper-pagination-bullet {
        width: 25px !important;
        height: 5px !important;
    }
}

.roboyad_background_dark_sampel {
    background-color: rgba(8, 5, 32, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.action_open_close {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.action_open_close.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* ---------------------------------- */
/* seting end */
/* ---------------------------------- */




/* ---------------------------------- */
/* === Header Styles === */
/* ---------------------------------- */

.roboyad_parent_header_item {
    position: relative;
    z-index: 20;
}

.roboyad_header {
    background-color: var( --box_color_1 );
    border: 1px var(--border_color_1) solid;
    border-radius: 8px;
    margin-top: 15px !important;
    padding: 8px;
}

.roboyad_logo {
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.roboyad_logo a {
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.roboyad_logo_img {
    width: 100%;
    max-width: 88px;
}

.roboyad_menu {
    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 5px !important;
    padding-right: 5px !important;
}

.roboyad_menu .menu-menuheader-container ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 50px;
}

.roboyad_menu .menu-menuheader-container ul li a {
    color: var(--text_color_1);
    font-size: 16px;
}

.roboyad_butten_login_call {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;

    padding-left: 5px !important;
    padding-right: 5px !important;
}

.roboyad_butten_call {
    padding: 8px 10px;
    background-color: var(--background_color_2);
    border-radius: 8px;
    border: 3px solid var(--border_color_2);
    display: flex;align-items: center;justify-content: center;
}



.roboyad_butten_login {
    padding: 10px 12px;
    background-color: var(--border_color_2);
    color: var(--text_color_2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roboyad_butten_login svg{
    width: 100%;
    max-width: 22px;
    height: auto;
    margin-left: 5px;
}



.roboyad_icon_menu_hamberger {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.roboyad_icon_menu_hamberger {
    display: none;
}




@media ( max-width: 768px ) {

    .roboyad_menu {
        display: none;
    }
    .roboyad_butten_login_call{
        display: none;
    }

    .roboyad_header {
        flex-direction: row-reverse;
    }

    .roboyad_logo {
        justify-content: end;
    }

    .roboyad_icon_menu_hamberger {
        display: flex;
        align-items: center;
        justify-content: start;
    }

    .roboyad_logo_img {
        max-width: 82px;
    }

    .roboyad_icon_menu_hamberger svg {
        width: 100%;
        max-width: 22px;
        height: auto;
    }

    .roboyad_header {
        padding: 7px;
    }
}


/* ---------------------------------- */
/* === hamberger menu === */
/* ---------------------------------- */

.roboyad_hamerger_menu {
    border-radius: 8px;
    background-color: var(--box_color_1);
    border: 1px var(--border_color_1) solid;
    padding: 13px 11px ;
    margin-top: 8px;
}


.roboyad_item_hamberger_menu ul {
    list-style: none;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 13px;
}

.roboyad_item_hamberger_menu ul a {
    font-size: 14px;
    color: var(--text_color_1);
    font-weight: bold;
}

.roboyad_item_hamberger_menu ul li a {
    position: relative;
    padding-right: 15px;
}

.roboyad_item_hamberger_menu ul li a:before {
    content: "";
    display: flex;
    position: absolute;
    width: 10px;
    height: 3px;
    top: 8px;
    right: 0px;
    background-color: var(--text_color_1);
    border-radius: 50px;
}

.roboyad_button_hamberger_menu {
    width: 100%;
    background-color: var( --border_color_2 );
    color: var(--text_color_2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 18px;
    font-size: 15px;
}

.roboyad_button_hamberger_menu svg {
    width: 100%;
    max-width: 22px;
    height: auto;
    margin-left: 5px;
}

.roboyad_button_hamberger_menu span {
    font-size: 12px;
    margin-right: 5px;
}

.roboyad_hamerger_menu {
    display: none;
}


@media ( max-width: 768px ) {

    .roboyad_hamerger_menu {
        display: block;
        max-height: 0;
        overflow: hidden;

        opacity: 0;
        transform: translateY(-10px);

        transition:
                max-height 0.5s ease,
                opacity 0.4s ease,
                transform 0.4s ease;

        pointer-events: none;
    }

    .roboyad_hamerger_menu.active {
        max-height: 600px; /* بزرگ‌تر از ارتفاع واقعی منو */
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

}


/* ---------------------------------- */
/* === roboyad_dark_screen === */
/* ---------------------------------- */

.roboyad_dark_screen {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.4); /* تیرگی ملایم */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */

    z-index: 10;
}


/* ---------------------------------- */
/* === Footer === */
/* ---------------------------------- */

.spacer {
    height: 1000px;
}

/*-----------------------------*/
/* section title */
/*-----------------------------*/


.roboyad_section_title_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100% !important;
}

.roboyad_section_title {
    margin-top: 89px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.roboyad_section_text_title {
    font-size: 20px;
    text-align: center;
    color: var(--text_color_4);
    font-family: 'FMoraba', sans-serif !important;
    font-weight: 600;
}

.roboyad_section_line_title {
    width: 100%;
    max-width: 53px;
    height: 1.6px;
    background-color: var(--text_color_4);
    border-radius: 5px;
    margin-top: 6px;
}

.roboyad_botton_text {
    font-size: 14px;
    color: var( --text_color_5 );
    margin-top: 9px;
}


@media (max-width: 576px) {

    .roboyad_section_text_title {
        font-size: 16px;
    }

    .roboyad_section_title {
        gap: 8px;
        margin-top: 50px;
    }

    .roboyad_botton_text {
        font-size: 13px;
    }

}


/*-----------------------------*/
/* game card */
/*-----------------------------*/

/*.section_card_game {}*/


.roboyad_cart_game {
    width: 100%;
    max-width: 380px;
    padding: 12px;
    background-color: var(--box_color_1);
    border: 2px solid var(--border_color_1);
    border-radius: 8px;
    margin-top: 35px;
}

.roboyad_cart_game_tag_a {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}

.roboyad_cart_game_image {
    background-size: cover;
    background-position: center;
    border: 8px;
    height: 208px;
    border-radius: 8px;
    position: relative;
    width: 100%;
}

.roboyad_cart_game_name {
    font-size: 15px;
    font-weight: 600;
    margin-top: 14px;
    color: var(--text_color_1);
    text-align: start;
}

.roboyad_cart_game_path {
    font-size: 13px;
    font-weight: 600;
    margin-top: 7px;
    color: var(--text_color_1);
    text-align: start;
}

.roboyad_cart_game_subject {
    font-size: 13px;
    font-weight: 600;
    margin-top: 7px;
    color: var(--text_color_1);
    text-align: start;
}

.roboyad_cart_game_button_start_game {
    margin-top: 10px;
    width: 100%;
    color: black;
    background-color: var(--border_color_2);
    text-align: center;
    font-weight: bold;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
}


.roboyad_card_game_text_cover {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    width: 100%;

}

@media (max-width: 576px) {

    .roboyad_cart_game {
        padding: 8px !important;
    }

    .roboyad_cart_game_image {
        height: 135px;
    }

    .roboyad_cart_game_name {
        font-size: 12px;
        margin-top: 6px;
    }

    .roboyad_cart_game_path {
        font-size: 10px;
        margin-top: 7px;
    }

    .roboyad_cart_game_subject {
        font-size: 10px;
        margin-top: 7px;
    }

    .roboyad_cart_game_button_start_game {
        font-size: 12px;
    }

}


/*-----------------------------*/
/* swiper show */
/*-----------------------------*/

.roboyad_swiper_show_cart_game {
    height: auto;
    padding-bottom: 41px !important;
}

/*-----------------------------*/
/* footer */
/*-----------------------------*/


.roboyad_logo_media_parent {
    margin-top: 150px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.roboyad_logo_media_logo {
    width: 100%;
    max-width: 150px;
}

.roboyad_logo_media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
}

.roboyad_logo_media img {
    width: 100%;
    max-width: 60px;
    gap: 30px;
}



.roboyad_footer_item {

    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--border_color_1);
    padding: 12px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

.roboyad_footer_item_row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.roboyad_footer_item_text {
    text-align: start;
}


.roboyad_footer_item_menu_footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

.roboyad_footer_item_menu_footer ul li {
    text-align: center;
}

.roboyad_footer_item_menu_footer ul a {
    font-size: 14px;
    color: black;
}

.roboyad_footer_item_menu_madrak {
    display: flex;
    align-items: end;
    justify-content: end;
}

.roboyad_foter_res {
    display: none;
}


@media (max-width: 576px) {

    .roboyad_logo_media img {
        max-width: 46px;
    }
    .roboyad_logo_media_logo {
        max-width: 107px;
    }
    .roboyad_footer_item {
        margin-bottom: 39px;
    }

    .roboyad_footer_item_text {
        display: none;
    }

    .roboyad_foter_res {
        display: flex;
    }

    .roboyad_footer_item_text {
        font-size: 14px;
        font-weight: bold;
    }

    .roboyad_footer_item_menu_footer {
        margin-bottom: 14px !important;
    }

    .roboyad_logo_media_parent {
        margin-top: 50px;
    }

}



/* Error label */

.roboyad_box_Error_item {
    background-color: #FFF8F9;
    border: 1px solid #DC1D40;
    border-radius: 8px;
    width: 100%;
    padding: 9px 11px;
    gap: 1px !important;
    display: none;
    margin-top: 10px;
}

.roboyad_box_Error_item.active {
    display: flex;
}

.roboyad_box_Error_item p {
    color: #DC1D40;
    font-size: 14px;
    padding-right: 6px;
}


@media (max-width: 576px) {

    .roboyad_box_Error_item p {
        color: #DC1D40;
        font-size: 12px;
        padding-right: 6px;
    }

    .roboyad_box_Error_item {
        padding: 9px 5px;
    }
}



/*-----------------------------*/
/* blog part */
/*-----------------------------*/


.roboyad_blog_card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 410px;
    background-color: var(--box_color_1);
    border: 2px solid var(--border_color_1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 35px;
}

.roboyad_blog_card_image {
    background-size: cover;
    background-position: center;
    border: 8px;
    height: 210px;
    border-radius: 8px;
    position: relative;
    opacity: 1;
    width: 100%;
}

.roboyad_blog_card_image_title_data_botten_parent {
    margin-top: 15px !important;
}

.roboyad_blog_card_image_title_data {
    padding: 0px 0px 0px 0px;
}

.roboyad_blog_card_image_title {
    font-size: 16px;
    font-weight: 600;
    color: var( --text_color_2 );
    text-align: start;
}


.roboyad_blog_card_image_date {
    font-size: 15px;
    font-weight: 500;
    color: var( --text_color_2 );
    margin-top: 10px;
    text-align: start;
}

.roboyad_blog_card_image_button {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0px 10px 0px 0px;
}

.roboyad_blog_card_tag_a {
    width: 100%;
}

@media (max-width: 426px) {

    .roboyad_blog_card_image_title {
        font-size: 14px;
    }

    .roboyad_blog_card_image_date {
        font-size: 13px;
    }

}


/*-----------------------------*/
/* blog page */
/*-----------------------------*/


.roboyad_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px !important;
    gap: 10px;
}

.roboyad_pagination a {
    /*background-color: rgba(0, 150, 199, 0.22);*/
    background-color: #fff;
    /*border: 1px solid #E9ECEF;*/
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_7);
    font-weight: bold;
}


.roboyad_pagination span {
    /*background-color: rgba(0, 150, 199, 0.22);*/
    background-color: #fff;
    /*border: 1px solid #E9ECEF;*/
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_7);
    font-weight: bold;
}


.roboyad_pagination span.current {

    background-color: var( --background_color_2 );
    border: 1px solid var( --text_color_3 );
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var( --text_color_3 );
    font-weight: bold;
}


.roboyad_pagination a.current {

    background-color: var( --background_color_2 );
    border: 1px solid var( --text_color_3 );
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var( --text_color_3 );
    font-weight: bold;
}



/*------------------------------------------*/
/* roboyad item box */
/*------------------------------------------*/


.roboyad_new_item_box {
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--border_color_1);
    padding: 12px;
}

.roboyad_new_item_box h2 {
    font-size: 14px;
    color: black;
    padding: 7px 8px;
    border-radius: 5px 5px 15px 5px;
    background-color: var(--border_color_2);
    width: max-content;
    margin-bottom: 10px;
}

.roboyad_new_games_container_parent {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.roboyad_new_games_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--border_color_1);
    padding: 8px;
    border-radius: 8px;
}

.roboyad_new_games_container_text {
    width: 90%;
}

.roboyad_new_games_container_text h3 {
    font-size: 14px;
    color: var(--text_color_2);
    margin-bottom: 3px;
}

.roboyad_new_games_container_text p {
    font-size: 12px;
    color: var(--text_color_1);
}

.roboyad_new_games_container_svg {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: end;
}



/* ---------------------------------------- */
/* popup show view */
/* ---------------------------------------- */


.video-trigger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.video-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Video Container */
.video-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    /*max-width: 90vw;*/
    max-height: 90vh;
    transform: scale(0.8);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 568px;
    display: flex;
    flex-direction: column;
    text-align: center;

}

.video-overlay.active .video-container {
    transform: scale(1);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    background: #ff3742;
    transform: scale(1.1);
}

/* Video Element */
.video-player {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    outline: none;
}

/* Video Info */
.video-info {
    text-align: center;
    margin-top: 15px;
    color: #333;
}

.video-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
}

.video-description {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        margin: 20px;
        padding: 15px;
    }

    .video-title {
        font-size: 20px;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}



/* ---------------------------------------- */
/* buy_subscription */
/* ---------------------------------------- */

.roboyad_buy_subscription_buy_back {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--border_color_2);
    padding: 22px 12px;
    font-size: 18px;
    margin-bottom: 30px !important;
}

.roboyad_buy_subscription_buy_back span {
    color: var(--text_color_3);
    font-weight: bold;
}

.roboyad_buy_subscription_buy_box_parent {
    padding: 5px !important;
    width: 100%;
    max-width: 300px;
}

.roboyad_buy_subscription_buy_box_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.roboyad_buy_subscription_buy_box {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--border_color_1);
    /*width: 100%;*/
    /*max-width: 500px;*/
    padding: 12px;
}

.roboyad_buy_subscription_buy_box_title_icon {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    margin-bottom: 17px;
}

.roboyad_buy_subscription_buy_box_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 12px;
    width: fit-content;
    margin-left: 7px;
}

.roboyad_buy_subscription_buy_box_title {
    font-weight: 600;
    font-size: 19px;
}

.roboyad_buy_subscription_buy_box_price_number_title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: black;
    font-weight: 600;
    margin-bottom: 19px;
}

.roboyad_buy_subscription_buy_box_price_title {
    color: #5b5b5b;
    font-weight: 500;
}

.roboyad_buy_subscription_buy_box_list {
    margin-bottom: 25px;
}

.roboyad_buy_subscription_buy_box_list ul {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.roboyad_buy_subscription_buy_box_list ul li {
    display: flex;
    align-items: center;
    justify-content: start;
}

.roboyad_buy_subscription_buy_box_list ul li svg {
    margin-left: 5px;
}

.roboyad_buy_subscription_buy_box_list ul li p {
    font-size: 13px;
}

.roboyad_buy_subscription_buy_box_botten {
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    background-color: var(--border_color_2);
    color: var( --text_color_2 );
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

@media (max-width: 768px) {

    .roboyad_buy_subscription_buy_back {
        font-size: 14px;
        padding: 13px 12px;
        line-height: 23px;
    }

    .roboyad_buy_subscription_buy_box_title {
        font-size: 16px;
    }

    .roboyad_buy_subscription_buy_box_title_icon {
        margin-bottom: 13px;
    }

    .roboyad_buy_subscription_buy_box_price_number_title {
        font-size: 15px;
        margin-bottom: 14px;
    }


}

@media (max-width: 651px) {
    .roboyad_buy_subscription_buy_box_parent {
        width: 100%;
        max-width: none;
    }
}


/* ---------------------------------------- */
/* buy subscription popup */
/* ---------------------------------------- */

.roboyda_buy_subscription_popup {
    position: fixed;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 12px;
}


.roboyad_container_option_subscription {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    width: 100%;
}


.roboyda_buy_subscription_popup .roboyad_buy_subscription_buy_box_container {

    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--border_color_1);
    padding: 12px;
    max-height: 85vh;
    overflow-y: auto;

    width: 100%;
    max-width: 1000px;
}

.roboyda_buy_subscription_popup_title {
    display: none;
    width: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.roboyda_buy_subscription_popup_title_box_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 100%;
}


.roboyda_buy_subscription_popup.active .roboyda_buy_subscription_popup_title {
    display: flex;
    padding: 12px 0px;
}

body:has(.roboyda_buy_subscription_popup.active) {
    overflow: hidden;
}

.roboyda_buy_subscription_popup_title_close_icon {
    width: 100%;
    position: relative;
}

.roboyda_buy_subscription_popup_title_close_icon svg {

    display: none;
    position: absolute;
    width: 30px;
    height: auto;
    top: -10px;
    right: -10px;
}

.roboyda_buy_subscription_popup.active .roboyda_buy_subscription_popup_title_close_icon svg {
    display: flex;
}

@media ( max-width: 426px ) {

    .roboyda_buy_subscription_popup_title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .roboyda_buy_subscription_popup.active .roboyda_buy_subscription_popup_title {
        margin-top: 14px;
    }

}













/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
/* comment start */
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/


/* comment */

/* کانتینر کلی بخش نظرات */
#comments {
    margin-top: 20px;
    font-family: 'Tahoma', sans-serif;
}

/* فرم ثبت نظر */
#comments .comment-respond {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 2px solid var(--border_color_1);
}

#comments .comment-respond h3.comment-reply-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

#comments .comment-respond form textarea,
#comments .comment-respond form input[type="text"],
#comments .comment-respond form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
}

#comments .comment-respond form input[type="submit"] {
    background: #EF8800;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#comments .comment-respond form input[type="submit"]:hover {
    background: #d96c00;
}

/* تیتر لیست نظرات */
#comments .comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* لیست نظرات */
.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-list li.comment {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    border: 2px solid var(--border_color_1);

}

/* آواتار */
.comment-list li.comment .comment-author img {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #EF8800;
}

/* نام و تاریخ */
.comment-list li.comment .comment-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.comment-list li.comment .comment-meta .comment-author {
    font-weight: 600;
    color: #333;
}

.comment-author {
    margin-bottom: 10px !important;
}

.comment-author cite a {
    /*color: var(--text_color_3);*/
    color: black;
    font-weight: bold;
    font-style: normal;
}

/* متن کامنت */
.comment-list li.comment .comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-left: 65px; /* فاصله از آواتار */
}

/* پاسخ‌ها (Reply) */
.comment-list li.comment .children {
    margin-top: 15px;
    margin-left: 60px;
}

/* دکمه پاسخ */
.comment-reply-link {
    font-size: 14px;
    color: #EF8800;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* صفحه‌بندی نظرات */
.comment-pagination {
    margin-top: 30px;
    text-align: center;
}

.comment-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-pagination .page-numbers.current {
    background: var(--text_color_3);
    color: #fff;
}

.comment-pagination .page-numbers:hover {
    background: var(--text_color_3);
    color: #fff;
}

.comment_login {
    color: var(--text_color_3);
    font-weight: bold;
    cursor: pointer;
}

.comment-meta {
    display: none;
}

@media ( max-width: 768px ) {

    .roboyad_single_education_topic_image_parent {
        margin-top: 0px;
        margin-bottom: 39px;
    }

    .roboyad_single_education_topic_image {
        height: 177px;
    }

    .roboyad_single_education_topic_itmes_education_title {
        padding: 12px;
    }

    .roboyad_single_education_topic_itmes_education_title h1 {
        font-size: 12px;
    }

    .roboyad_single_itmes_game_video_home_work {
        padding: 12px;
    }

    .roboyad_single_itmes_game_video_home_work_item_text_icon svg {
        width: 100%;
        max-width: 27px;
        height: auto;
        margin-left: 7px;
        /*display: none;*/
    }

    .roboyad_single_itmes_game_video_home_work_item_text_title {
        font-size: 13px;
    }

    .roboyad_single_itmes_game_video_home_work_item_text_description {
        font-size: 13px;
    }


    .roboyad_single_itmes_game_video_home_work_item_botton a {
        padding: 6px;
        font-size: 13px;
        max-width: 400px;
    }

    .roboyad_single_itmes_game_video_home_work_item_botton {
        justify-content: center;
        align-items: center;
    }


    .roboyad_single_itmes_game_video_home_work_item_botton .roboyad_single_itmes_game_video_home_work_button svg {
        display: none;
    }


    .roboyad_single_itmes_game_video_home_work_item_text_title {
        margin-bottom: 5px;
    }


    .roboyad_single_itmes_game_video_home_work_item_text_icon {
        margin-bottom: 12px;
    }

}

/*------------------------------------------*/
/* page ination comment */
/*------------------------------------------*/

.comments-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px !important;
    gap: 10px;
}

.comments-pagination .nav-links a {
    /*background-color: rgba(0, 150, 199, 0.22);*/
    background-color: #fff;
    /*border: 1px solid #E9ECEF;*/
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_7);
    font-weight: bold;

    font-family: IRANYekanXFaNum !important;
}

.comments-pagination .nav-links span {
    /*background-color: rgba(0, 150, 199, 0.22);*/
    background-color: #fff;
    /*border: 1px solid #E9ECEF;*/
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_7);
    font-weight: bold;

    font-family: IRANYekanXFaNum !important;
}

.comments-pagination .nav-links span.current {

    background-color: var(--background_color_2);
    border: 1px solid var(--text_color_3);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_3);
    font-weight: bold;
}

.comments-pagination .nav-links a.current {

    background-color: var(--background_color_2);
    border: 1px solid var(--text_color_3);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 16px;
    color: var(--text_color_3);
    font-weight: bold;
}

.blog_spacer {
    margin-top: 10px;
}

.flow_page {
    position: sticky;
    top: 10px;
}

@media (max-width: 768px ) {

    .roboyad_single_container_panert {
        margin-top: 0px;
    }

    .roboyad_single_container_name {
        font-size: 15px;
        margin-bottom: 13px;
    }

    .roboyad_single_blog_image {
        height: 196px;
    }

    .roboyad_single_blog_item p {
        font-size: 12px;
    }

    .roboyad_single_blog_contact {
        font-size: 14px;
    }

    .roboyad_single_blog_contact p {
        line-height: 24px;
    }

    #comments .comment-respond h3.comment-reply-title {
        font-size: 18px;
        margin-bottom: 11px;
    }

    #comments .comment-respond {
        padding: 12px;
    }

    #comments .comment-respond form textarea {
        height: 140px;
        margin-bottom: 5px;
    }

    #comments .comment-respond form input[type="submit"] {
        padding: 8px 25px;
    }

    .comment-list li.comment {
        padding: 12px;
    }

    .comment-author cite a {
        font-size: 12px;
    }

    .div-comment-12 p {
        font-size: 12px;
    }

    .comment-author {
        margin-bottom: 5px !important;
    }
}





/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
/* comment end */
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------*/
/* title 2 */
/*------------------------------------------------------------------------------*/



.roboyad_box_show_title {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: 13px;
}

.roboyad_item_padding {
    padding-right: 12px !important;
    padding-left: 12px !important;
}

.roboyad_box_show_title_svg {
    background-color: var(--border_color_2);
    padding: 15px;
    border-radius: 10px 10px 30px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roboyad_box_show_title .roboyad_box_show_title_p {
    margin-right: 10px;
    font-size: 20px;
}

.roboyad_box_show_title .roboyad_box_show_title_p span {
    font-weight: bold;
}

@media (max-width: 576px) {

    .roboyad_box_show_title {
        margin-bottom: 10px;
        margin-top: 13px;
    }
    .roboyad_box_show_title_svg {
        padding: 9px;
        border-radius: 10px 10px 22px 10px;
    }
    .roboyad_box_show_title .roboyad_box_show_title_p {
        font-size: 15px;
        margin-right: 6px;
    }
}


/*------------------------------------------------------------------------------*/
/* title 2 end */
/*------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------*/
/* style video start */
/*------------------------------------------------------------------------------*/

.kelasto_container_video #videoPlayer____  {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: none;
}


.videoPlayer_container_ {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

/*.butten_login {*/
/*    position: absolute;*/
/*    background-color: #ff0000;*/
/*    font-size: 15px;*/
/*}*/

.button_login {

    position: absolute;

    display: inline-block;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;

    font-size: 17px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;

    transition: all 0.35s ease;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);

    /* برای متن وسط‌چین */
    text-align: center;
}

.button_login:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
}

.button_login:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
}


/*------------------------------------------------------------------------------*/
/* style video end */
/*------------------------------------------------------------------------------*/




