.elementor-867 .elementor-element.elementor-element-25c7a1f{--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;--justify-content:flex-end;--overflow:hidden;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-867 .elementor-element.elementor-element-4dd5de4 .jet-listing-dynamic-image{justify-content:flex-start;}.elementor-867 .elementor-element.elementor-element-4dd5de4 .jet-listing-dynamic-image__figure{align-items:flex-start;}.elementor-867 .elementor-element.elementor-element-4dd5de4 .jet-listing-dynamic-image a{display:flex;justify-content:flex-start;}.elementor-867 .elementor-element.elementor-element-4dd5de4 .jet-listing-dynamic-image__caption{text-align:left;}.elementor-867 .elementor-element.elementor-element-5dda105{--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;--gap:12px 12px;--row-gap:12px;--column-gap:12px;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;}.elementor-867 .elementor-element.elementor-element-613b1ad{margin:-17px 0px calc(var(--kit-widget-spacing, 0px) + -15px) 0px;}.elementor-867 .elementor-element.elementor-element-613b1ad .jet-listing-dynamic-link__link{align-self:flex-start;font-size:25px;font-weight:700;color:#FAFBFE;flex-direction:row;}.elementor-867 .elementor-element.elementor-element-613b1ad .jet-listing-dynamic-link__icon{order:1;}.elementor-867 .elementor-element.elementor-element-2e9630e{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + -0.5rem) 0rem;}.elementor-867 .elementor-element.elementor-element-2e9630e .jet-listing-dynamic-link__link{align-self:flex-start;font-size:13px;font-weight:400;color:#FAFBFE;flex-direction:row;}.elementor-867 .elementor-element.elementor-element-2e9630e .jet-listing-dynamic-link__icon{order:1;}@media(max-width:767px){.elementor-867 .elementor-element.elementor-element-613b1ad{margin:-0.8rem 0rem calc(var(--kit-widget-spacing, 0px) + -0.6rem) 0rem;}.elementor-867 .elementor-element.elementor-element-613b1ad .jet-listing-dynamic-link__link{font-size:23px;}.elementor-867 .elementor-element.elementor-element-2e9630e{margin:0rem 0rem calc(var(--kit-widget-spacing, 0px) + 0.2rem) 0rem;}.elementor-867 .elementor-element.elementor-element-2e9630e .jet-listing-dynamic-link__link{font-size:12px;}}/* Start custom CSS for container, class: .elementor-element-25c7a1f *//* ==========================================
   Premium Blog Card v2 - بازنویسی شده
   Part 1 - Structure
========================================== */

/* ==========================================
   Main Card
========================================== */

.blog-card {
  position: relative;
  width: 100%;
  min-height: 295px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border-radius: 32px;
  background: #0E1726;
  border: none;
  box-shadow:
      inset 0 0 0 2px rgba(72, 208, 236, 0.45),   /* رنگ فیروزه‌ای پررنگ‌تر */
      inset 0 1px rgba(255, 255, 255, .10),
      inset 0 -1px rgba(255, 255, 255, .03),
      0 24px 60px rgba(0, 0, 0, .18);
  transition:
      transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.55s ease,
      filter 0.45s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
 Image Layer
========================================== */

.blog-card .blog-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transform-origin: center top;
  transition:
      transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
      filter 0.8s ease;
  backface-visibility: hidden;
  image-rendering: auto;
}

/* ==========================================
 Dark Gradient Overlay
========================================== */

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
      linear-gradient(
          180deg,
          rgba(7, 16, 27, .02) 0%,
          rgba(7, 16, 27, .08) 20%,
          rgba(7, 16, 27, .22) 42%,
          rgba(7, 16, 27, .58) 72%,
          rgba(7, 16, 27, .92) 100%
      );
  transition:
      background 0.55s ease,
      opacity 0.55s ease;
}

/* ==========================================
 Glass Border (هماهنگ با فیروزه‌ای)
========================================== */

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 32px;
  pointer-events: none;
  z-index: 5;
  background:
      linear-gradient(
          145deg,
          rgba(72, 208, 236, .22),
          rgba(72, 208, 236, .22),
          rgba(72, 208, 236, .04),
          rgba(72, 208, 236, .12)
      );
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition:
      opacity 0.45s ease,
      transform 0.45s ease;
}

/* ==========================================
 Ambient Cyan Light
========================================== */

.blog-card {
  background-image:
      radial-gradient(
          circle at top,
          rgba(72, 208, 236, .10),
          transparent 58%
      );
}

/* ==========================================
 Content Layer – چسبیده به کف، چپ و راست
========================================== */

.blog-card .content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;

  /* ===== گلس مورفیسم ===== */
  padding: 22px 26px;
  border-radius: 0 0 32px 32px;   /* ← تغییر: فقط پایین گرد */
  background: rgba(72, 208, 236, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* حاشیه فقط بالا با رنگ فیروزه‌ای مشخص */
  border: none;
  border-top: 2px solid rgba(72, 208, 236, 0.55);
  box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.12),
      0 8px 20px rgba(72, 208, 236, 0.10);
  transition:
      background 0.45s ease,
      border-color 0.45s ease,
      box-shadow 0.45s ease;
}

/* ==========================================
 Tablet
========================================== */

@media (max-width: 1024px) {
  .blog-card {
      min-height: 325px;
      border-radius: 28px;
  }

  .blog-card::after {
      border-radius: 28px;
  }

  .blog-card .content-overlay {
      padding: 18px 22px;
      border-radius: 0 0 28px 28px;   /* ← هماهنگ با کارت */
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top-width: 2px;
  }
}

/* ==========================================
 Mobile
========================================== */

@media (max-width: 767px) {
  .blog-card {
      min-height: 254px;
      border-radius: 22px;
  }

  .blog-card::after {
      border-radius: 22px;
  }

  .blog-card .content-overlay {
      padding: 14px 18px;
      border-radius: 0 0 22px 22px;   /* ← هماهنگ با کارت */
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      gap: 12px;
      border-top-width: 2px;
  }
}

/* ==========================================
 Premium Blog Card v2 - Part 2: Content
========================================== */

/* Title Wrapper */
.blog-card .blog-title {
  margin: 0;
  padding: 0;
  transition: transform 0.45s ease;
}

.blog-card .blog-title a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card .blog-title .jet-listing-dynamic-field__content {
  color: #FFFFFF;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition:
      color 0.35s ease,
      text-shadow 0.35s ease;
}

/* Excerpt Wrapper */
.blog-card .blog-excerpt {
  margin: 0;
  padding: 0;
  transition: transform 0.45s ease;
}

.blog-card .blog-excerpt a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card .blog-excerpt .jet-listing-dynamic-field__content {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition:
      color 0.35s ease;
}

/* Content width */
.blog-card .content-overlay > * {
  width: 100%;
}

/* Focus style */
.blog-card a:focus-visible {
  outline: 2px solid rgba(72, 208, 236, .65);
  outline-offset: 5px;
  border-radius: 10px;
}

/* Remove Elementor link decoration */
.blog-card a {
  text-decoration: none;
}

/* Better text rendering */
.blog-card .blog-title,
.blog-card .blog-excerpt {
  text-wrap: pretty;
}

/* ==========================================
 Tablet Content
========================================== */

@media (max-width: 1024px) {
  .blog-card .blog-title .jet-listing-dynamic-field__content {
      font-size: 24px;
  }

  .blog-card .blog-excerpt .jet-listing-dynamic-field__content {
      font-size: 14px;
      -webkit-line-clamp: 3;
  }
}

/* ==========================================
 Mobile Content
========================================== */

@media (max-width: 767px) {
  .blog-card .blog-title .jet-listing-dynamic-field__content {
      font-size: 20px;
      line-height: 1.45;
  }

  .blog-card .blog-excerpt .jet-listing-dynamic-field__content {
      font-size: 13px;
      line-height: 1.8;
      -webkit-line-clamp: 2;
  }
}

/* ==========================================
 Premium Blog Card v2 - Part 3: Hover & Animation
========================================== */

/* ===== 1. Card Hover – با حاشیه فیروزه‌ای پررنگ‌تر ===== */
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow:
      inset 0 0 0 2px rgba(72, 208, 236, 0.75),   /* رنگ پررنگ‌تر در هاور */
      inset 0 1px rgba(255, 255, 255, .16),
      inset 0 -1px rgba(255, 255, 255, .05),
      0 32px 85px rgba(72, 208, 236, .22),
      0 18px 36px rgba(0, 0, 0, .20);
  filter: saturate(1.02);
}

/* ===== 2. Image Animation ===== */
.blog-card:hover .blog-image img {
  transform: scale(1.06) translateY(-6px);
  filter: brightness(1.08) saturate(1.08);
}

/* ===== 3. Overlay Animation ===== */
.blog-card:hover::before {
  background:
      linear-gradient(
          180deg,
          rgba(8, 18, 38, 0) 0%,
          rgba(8, 18, 38, .05) 20%,
          rgba(8, 18, 38, .16) 42%,
          rgba(8, 18, 38, .48) 70%,
          rgba(8, 18, 38, .90) 100%
      );
}

/* ===== 4. Glass Border Hover ===== */
.blog-card:hover::after {
  transform: scale(1.01);
  opacity: 1;
}

/* ===== 5. Image Shine ===== */
.blog-card .blog-image::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -80%;
  width: 45%;
  height: 150%;
  background:
      linear-gradient(
          110deg,
          transparent,
          rgba(255, 255, 255, .22),
          transparent
      );
  transform: rotate(18deg);
  transition: left 0.9s ease;
}

.blog-card:hover .blog-image::after {
  left: 140%;
}

/* ===== 6. Content Overlay – Hover اثر (بدون جابجایی overlay) ===== */
.blog-card:hover .content-overlay {
  background: rgba(72, 208, 236, 0.12);
  border-top-color: rgba(72, 208, 236, 0.75);   /* پررنگ‌تر در هاور */
  box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.15),
      0 12px 28px rgba(72, 208, 236, 0.18);
}

/* ===== 7. حرکت محتوای داخلی (عنوان و توضیحات) به سمت بالا ===== */
.blog-card:hover .blog-title,
.blog-card:hover .blog-excerpt {
  transform: translateY(-4px);
}

/* ===== 8. Title Hover ===== */
.blog-card:hover .blog-title .jet-listing-dynamic-field__content {
  color: #FFFFFF;
  text-shadow:
      0 0 18px rgba(72, 208, 236, .30),
      0 8px 24px rgba(0, 0, 0, .32);
}

/* ===== 9. Excerpt Hover ===== */
.blog-card:hover .blog-excerpt .jet-listing-dynamic-field__content {
  color: rgba(255, 255, 255, .92);
}

/* ==========================================
 Premium Blog Card v2 - Part 4: Premium Finish
========================================== */

/* ===== Floating Cyan Glow ===== */
.blog-card .blog-glow {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 72%;
  height: 90px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
      radial-gradient(
          ellipse,
          rgba(72, 208, 236, .22),
          rgba(72, 208, 236, 0)
      );
  filter: blur(38px);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
  transition:
      width 0.45s ease,
      opacity 0.45s ease,
      transform 0.45s ease;
}

.blog-card:hover .blog-glow {
  width: 82%;
  opacity: .9;
  transform: translateX(-50%) translateY(6px);
}

/* ===== Glass Reflection ===== */
.blog-card .blog-image::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -55%;
  width: 65%;
  height: 180%;
  background:
      linear-gradient(
          115deg,
          transparent,
          rgba(255, 255, 255, .08),
          transparent
      );
  transform: rotate(18deg);
  transition: left 1.1s ease;
  pointer-events: none;
  z-index: 2;
}

.blog-card:hover .blog-image::before {
  left: 135%;
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card *,
  .blog-card::before,
  .blog-card::after {
      transition: none !important;
      animation: none !important;
  }
}

/* ==========================================
 Tablet Adjustments
========================================== */

@media (max-width: 1024px) {
  .blog-card:hover {
      transform: translateY(-6px);
  }

  .blog-card:hover .blog-image img {
      transform: scale(1.04) translateY(-3px);
  }

  .blog-card:hover .blog-title,
  .blog-card:hover .blog-excerpt {
      transform: translateY(-2px);
  }

  .blog-card .blog-glow {
      height: 70px;
      filter: blur(28px);
  }
}

/* ==========================================
 Mobile Adjustments – حذف هاور
========================================== */

@media (max-width: 767px) {
  .blog-card:hover {
      transform: none !important;
      box-shadow:
          inset 0 0 0 2px rgba(72, 208, 236, 0.45),   /* برگشت به حالت عادی */
          inset 0 1px rgba(255, 255, 255, .10),
          inset 0 -1px rgba(255, 255, 255, .03),
          0 24px 60px rgba(0, 0, 0, .18) !important;
      filter: none !important;
  }

  .blog-card:hover .blog-image img {
      transform: none !important;
      filter: none !important;
  }

  .blog-card:hover .content-overlay {
      background: rgba(72, 208, 236, 0.08) !important;
      border-top-color: rgba(72, 208, 236, 0.55) !important;
      box-shadow:
          inset 0 1px rgba(255, 255, 255, 0.12),
          0 8px 20px rgba(72, 208, 236, 0.10) !important;
  }

  .blog-card:hover .blog-title,
  .blog-card:hover .blog-excerpt {
      transform: none !important;
  }

  .blog-card:hover .blog-glow {
      width: 65% !important;
      opacity: .55 !important;
      transform: translateX(-50%) !important;
  }

  .blog-card:hover .blog-image::after {
      left: -80% !important;
  }

  .blog-card:hover .blog-image::before {
      left: -55% !important;
  }

  .blog-card .blog-glow {
      width: 65%;
      height: 45px;
      bottom: -28px;
      filter: blur(18px);
  }
}
.blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;           /* تعداد خطوط مجاز */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;         /* (اختیاری) برای ایمنی بیشتر */
  max-height: 2.5em;              /* (اختیاری) برای مرورگرهای قدیمی */
}/* End custom CSS */