.elementor-19143 .elementor-element.elementor-element-47fcc05e{--display:flex;}.elementor-19143 .elementor-element.elementor-element-47fcc05e.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-19143 .elementor-element.elementor-element-bab6041{--display:flex;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-19143 .elementor-element.elementor-element-3b11533{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-19143 .elementor-element.elementor-element-12300d1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-19143 .elementor-element.elementor-element-0817684{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-19143 .elementor-element.elementor-element-916b18f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-19143 .elementor-element.elementor-element-47fcc05e{--content-width:300px;}.elementor-19143 .elementor-element.elementor-element-bab6041{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-19143 .elementor-element.elementor-element-0213c13{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 180px) 0px;}.elementor-19143 .elementor-element.elementor-element-8ec76cd .wd-accordion-content{line-height:2.5em;}}@media(min-width:768px){.elementor-19143 .elementor-element.elementor-element-47fcc05e{--content-width:800px;}.elementor-19143 .elementor-element.elementor-element-bab6041{--content-width:600px;}}/* Start custom CSS for html, class: .elementor-element-0213c13 *//* 
  Style for Custom Aparat Video Wrapper (FINAL RESPONSIVE VERSION)
  Designed by Bamako Digital Marketing Agency
  Date: 1404/08/20
*/

/* بخش ۱: جعبه والد برای حفظ نسبت ابعاد (بدون تغییر) */
.video-aspect-ratio-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* نسبت ابعاد 16:9 */
  height: 0;
  /* 
    هاور و انیمیشن را به این عنصر والد منتقل می‌کنیم 
    تا کل باکس به صورت یکپارچه حرکت کند.
  */
  transition: transform 0.3s ease-in-out;
}
.video-aspect-ratio-box:hover {
    transform: translateY(-8px); /* کل باکس حرکت می‌کند */
}

/* بخش ۲: جعبه داخلی برای استایل‌دهی (با اصلاحات کلیدی) */
.video-aspect-ratio-box .aparat-video-wrapper {
  /* کدهای موقعیت‌دهی (بدون تغییر) */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* --- اصلاحات کلیدی برای اعمال استایل --- */
  
  /* 1. گوشه‌های گرد */
  border-radius: 15px; 
  
  /* 2. دستور برش محتوای داخلی (بسیار مهم) */
  overflow: hidden; 
  
  /* 3. کد جادویی برای حل مشکل iframe (مهم‌ترین تغییر) */
  /* این کد به مرورگر می‌گوید که یک لایه رندر جدید بسازد و overflow را به درستی اعمال کند */
  -webkit-transform: translateZ(0); /* برای مرورگرهای Webkit مثل کروم و سافاری */
  transform: translateZ(0);
  
  /* --- استایل‌های زیبایی‌شناسی --- */
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease-in-out; /* انیمیشن فقط برای سایه */
}

/* بخش ۳: تغییر سایه در زمان هاور */
.video-aspect-ratio-box:hover .aparat-video-wrapper {
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.2); /* سایه عمیق‌تر می‌شود */
}/* End custom CSS */