/* 
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
*/

@import url('https://cdn.fontcdn.ir/Font/Persian/Mirza/Mirza.css');
@import url('https://cdn.fontcdn.ir/Font/Persian/Shabnam/Shabnam.css');

body {
  direction: rtl;
  background-color: #0d0d0d;
  font-family: 'Shabnam', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
}

.gform_wrapper {
  background-color: #1a0e0e;
  border: 3px solid #660000;
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 600px;
  margin: 5px auto;
  box-shadow: 0 0 20px #300;
}

.gform_title {
  font-size: 16px;
  text-align: center;
  color: #ffdca8;
  margin-bottom: 25px;
  border-bottom: 2px dashed #880000;
  padding-bottom: 10px;
  text-shadow: 1px 1px 3px #440000;
  line-height: 2.2;
  font-weight: normal; /* برای دسکتاپ معمولی */
}

/* 🎯 در حالت موبایل (کمتر از 480px)، عنوان بشه 9px و ضخیم */
@media (max-width: 480px) {
  .gform_title {
    font-size: 9px !important;
    font-weight: bold !important;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 10px;
  }

  label {
    font-size: 13px !important;
  }

  input[type="text"],
  input[type="number"],
  input[type="file"],
  textarea {
    font-size: 13px !important;
    padding: 8px !important;
  }

  .gform_footer input[type="submit"] {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }

  .gform_wrapper .gform_button_select_files {
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

/* 🎨 استایل عمومی فرم */
label {
  font-size: 15px;
  color: #ffe5b4;
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="number"],
input[type="file"],
textarea {
  background-color: #2b1a1a;
  color: #fffbe7;
  border: 1px solid #aa5c5c;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
  font-family: 'Shabnam', sans-serif;
}

textarea {
  resize: vertical;
}

.checkbox {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.checkbox input {
  margin-left: 10px;
}

.gform_footer {
  text-align: center;
}

.gform_footer input[type="submit"] {
  background: linear-gradient(to right, #880000, #440000);
  color: #fff;
  font-size: 16px;
  padding: 10px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Shabnam', sans-serif;
  box-shadow: 0 0 8px #550000;
  transition: all 0.3s ease;
}

.gform_footer input[type="submit"]:hover {
  background: linear-gradient(to right, #aa0000, #660000);
  box-shadow: 0 0 12px #ff4444;
}

/* 🎯 اصلاح دکمه‌های فایل‌لودر */
.gform_wrapper .gform_button_select_files {
  display: inline-block;
  background-color: #8b0033;
  color: white;
  font-size: 15px;
  padding: 10px 18px;
  border: 2px solid #ff5599;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  font-family: 'Shabnam', sans-serif;
}

button {
  color: #b61f23;
}

#gform_submit_button_2 {
  display: block;
  margin: 20px auto;
}

/**عنوان اخبار**/
h1.elementor-heading-title.elementor-size-default,
h2.elementor-heading-title.elementor-size-default {
  text-align: center;
  background: linear-gradient(90deg, #8b0000, #000);
  color: white;
  padding: 12px 20px;
  font-size: 1.4rem;
  font-weight: bold;
  border-bottom: 2px solid #880000;
  border-radius: 12px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}
.elementor-300 .elementor-element.elementor-element-28b07b2b {
	/*فاصله زیر فوتر**/
	overflow: visible;
	display: none;
}

/**باکس اخبار***/
/** باکس اخبار - نسخه بهبود یافته **/

/* باکس توضیحات پایین کارت خبر */
.elementskit-post-body {
  background: rgba(0, 0, 0, 0.65);
  padding: 22px 18px;
  border-radius: 0 0 16px 16px;
  margin-top: 0 !important;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  text-align: center;
}

/* افکت هاور ملایم */
.elementskit-post-body:hover {
  box-shadow: 0 0 45px rgba(255, 0, 0, 0.4);
  transform: translateY(-5px);
  background: rgba(20, 0, 0, 0.75);
}

/* عنوان خبر */
.elementskit-post-body .elementskit-entry-title {
  font-family: 'Vazirmatn', 'IRANSans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff0f0;
  margin-bottom: 14px;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.25);
  letter-spacing: 0.3px;
}

/* دکمه بیشتر بخوانید */
.elementskit-post-readmore a {
  display: inline-block;
  padding: 10px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 25px;
  background: radial-gradient(circle at top left, #990000, #550000);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 0 12px #660000aa;
  transition: all 0.3s ease-in-out;
}

.elementskit-post-readmore a:hover {
  background: radial-gradient(circle at bottom right, #ff0000, #770000);
  box-shadow: 0 0 18px #ff0000dd;
  transform: scale(1.07);
}
/**عنوان نظر***/
@media screen and (max-width: 768px) {
  #reply-title.comment-reply-title {
    font-size: 1rem !important;
    text-align: rtl;
  }
}
/**عکس تعذیه در فوتر خبر **/
/**نوشته ها تکی استایل */
/** استایل صفحه تکی نوشته */
body.elementor-page-533 {
  background: linear-gradient(120deg, #000000, #1a0000);
  color: #eee;
}

/* اعمال استایل به همه عکس‌ها */
body.elementor-page-533 img {
  border: 5px solid #770000;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
  transition: transform 0.4s ease;
  max-width: 90%;
  margin: 0 auto;
  display: block;
}

/* حذف استایل از تصویر تعزیه */
body.elementor-page-533 .bndtaziyeh1 img {
  all: unset;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* عنوان پست */
body.elementor-page-533 h1,
body.elementor-page-533 .entry-title {
  font-family: 'IranNastaliq', 'Vazirmatn', serif;
  font-size: 2rem;
  text-align: center;
  color: #ff4444;
  text-shadow: 0 0 20px red;
  margin-top: 20px;
}

/* بدنه پست */
body.elementor-page-533 .entry-content {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #444;
  padding: 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 0 20px #000;
  line-height: 2.2;
  color: #ccc;
}
/*کانتاینر فیلم ها روی گرید*/
.movie-box {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 5px 25px rgba(255,255,255,0.1);
  text-align: center;
}
.movie-box h2, .movie-box h3, .movie-box p {
  color: #fff;
}
.movie-box .elementor-icon {
  color: #ff69b4 !important;
}
/**فرم کادر فیلم اپارات کلاس از فانکشن***/
.aparat-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* نسبت 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.aparat-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
