/* 
Theme Name: Hello Child
Theme URI: https://elementor-site.ir/
Description: 
Author: Elementor Site
Author URI: https://elementor-site.ir/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* * { outline: 1px solid red; } */

@font-face {
    font-family: 'font-1';
    src: url('assets/fonts/iranyekanwebregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'font-h';
    src: url('assets/fonts/IRANYekanXVF.woff2')  ;
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


:root {
  --plyr-color-main : var(--color-brand) ;
}


html {
  font-size: 12px;
}

@media (min-width: 360px) {
  html {
    font-size: 14px;
  }
  .text-body-2 {
        font-size: 0.8rem;
}

}

@media (min-width: 1024px) {
    html {
        font-size: 14px;
    }
    .text-body-2 {
        font-size: 1rem;
    }
}
   


a {
    text-decoration: none !important;
}

p{
    
    /* margin-block-end:0px !important ;
    margin-block-start:0px !important  */
}


.text-body-2 {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 2.17;
}

 


/* table title in signle pages */

.toc-content {
    
    overflow: hidden;
    transition: all 0.4s ease-out ;
    display: none;
}

/* وضعیت باز: وقتی کلاس open وجود دارد */
.toc-container.open .toc-content {
    
    display: block;
}


/* چرخش آیکون (اختیاری اما زیبا) */
.toc-container.open #toc-icon {
    transform: rotate(180deg);
}


/* for video */

/* اطمینان از اینکه border به کل container اعمال شود */
.video-wrapper {
    border-radius: inherit;
    overflow: hidden !important;
    position: relative;
    background: #000; /* پس‌زمینه مشکی برای زیبایی */
}

/* اطمینان از اینکه Plyr هم border-radius را رعایت کند */
.video-wrapper .plyr,
.video-wrapper .plyr__video-wrapper,
.video-wrapper .plyr__video-embed,
.video-wrapper video {
    border-radius: inherit !important;
    overflow: hidden !important;
}

/* برای اینکه کنترل‌های Plyr از border-radius عبور نکنند */
.plyr--video .plyr__controls {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    overflow: hidden;
}

/* استایل سفارشی برای border (اختیاری) */
.video-wrapper.with-border {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.video-wrapper.with-border:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff !important;
}


/* end for video */




