.elementor-57 .elementor-element.elementor-element-b3c3b4a{--display:flex;--margin-top:-21px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-57 .elementor-element.elementor-element-7b8a36c{--display:flex;}.elementor-57 .elementor-element.elementor-element-e06a21b{--display:flex;}.elementor-57 .elementor-element.elementor-element-5d20669{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-57 .elementor-element.elementor-element-08af3f0{text-align:center;}.elementor-57 .elementor-element.elementor-element-08af3f0 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-weight:600;color:#C29838;}.elementor-widget-posts .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-posts .elementor-post__meta-data{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .elementor-post__excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-posts a.elementor-post__read-more{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__card .elementor-post__badge{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-57 .elementor-element.elementor-element-8e2298b{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-57 .elementor-element.elementor-element-8e2298b .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-57 .elementor-element.elementor-element-8e2298b:after{content:"0.66";}.elementor-57 .elementor-element.elementor-element-8e2298b .elementor-post__thumbnail__link{width:100%;}.elementor-57 .elementor-element.elementor-element-8e2298b.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-57 .elementor-element.elementor-element-8e2298b.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-57 .elementor-element.elementor-element-8e2298b.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-57 .elementor-element.elementor-element-51970a1{--display:flex;}.elementor-57 .elementor-element.elementor-element-cee0b6b{--display:flex;}@media(max-width:767px){.elementor-57 .elementor-element.elementor-element-8e2298b .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-57 .elementor-element.elementor-element-8e2298b:after{content:"0.5";}.elementor-57 .elementor-element.elementor-element-8e2298b .elementor-post__thumbnail__link{width:100%;}}/* Start custom CSS for container, class: .elementor-element-5d20669 *//* ==================================
   کارت مقالات المنتور
   کلاس ویجت: magazine-posts
================================== */

.magazine-posts {
  --mp-green: #123c2d;
  --mp-gold: #e9c779;
  --mp-text: #53665a;
  direction: rtl;
  font-family: "Vazirmatn", sans-serif;
}

.magazine-posts,
.magazine-posts * {
  box-sizing: border-box;
}

/* فاصله کارت ها */
.magazine-posts .elementor-posts-container,
.magazine-posts .elementor-loop-container {
  gap: 24px;
}

/* کارت استاندارد و Card Skin */
.magazine-posts .elementor-post {
  overflow: hidden;
  border: 1px solid #dfe7df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(7, 31, 26, .05);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

/* حذف کادر داخلی تکراری در Card Skin */
.magazine-posts .elementor-post__card {
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

/* کارت Loop Grid؛ کلاس اختیاری داخل قالب Loop */
.magazine-posts .magazine-loop-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #dfe7df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(7, 31, 26, .05);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

@media (hover: hover) {
  .magazine-posts .elementor-post:hover,
  .magazine-posts .magazine-loop-card:hover {
    transform: translateY(-5px);
    border-color: #cfb578;
    box-shadow: 0 16px 34px rgba(7, 31, 26, .1);
  }
}

/* تصویر شاخص */
.magazine-posts .elementor-post__thumbnail__link {
  display: block;
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
}

.magazine-posts .elementor-post__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding-bottom: 0 !important;
  overflow: hidden;
  background: #e9eee7;
}

.magazine-posts .elementor-post__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: none !important;
  transition: filter .2s ease;
}

@media (hover: hover) {
  .magazine-posts .elementor-post:hover
  .elementor-post__thumbnail img {
    filter: brightness(1.05);
  }
}

/* محتوای کارت */
.magazine-posts .elementor-post__text {
  padding: 23px;
  margin: 0 !important;
}

/* عنوان */
.magazine-posts .elementor-post__title {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.9;
}

.magazine-posts .elementor-post__title a {
  color: var(--mp-green);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.magazine-posts .elementor-post__title a:hover {
  color: #826325;
}

/* تاریخ و نویسنده */
.magazine-posts .elementor-post__meta-data {
  margin-bottom: 12px;
  color: #647568;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.9;
}

/* خلاصه مقاله */
.magazine-posts .elementor-post__excerpt {
  margin-bottom: 18px;
}

.magazine-posts .elementor-post__excerpt p {
  margin: 0;
  color: var(--mp-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 2.1;
}

/* ادامه مطلب */
.magazine-posts a.elementor-post__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d9c48f;
  border-radius: 9px;
  background: #f8f3e7;
  color: #614b20;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
  transition:
    background-color .2s ease,
    color .2s ease;
}

.magazine-posts a.elementor-post__read-more:hover {
  background: var(--mp-green);
  border-color: var(--mp-green);
  color: #fff;
}

/* برچسب دسته بندی در Card Skin */
.magazine-posts .elementor-post__badge {
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--mp-green);
  color: var(--mp-gold);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
}

/* اطلاعات پایین کارت در Card Skin */
.magazine-posts .elementor-post__card
.elementor-post__meta-data {
  padding: 13px 23px;
  margin: 0;
  border-top: 1px solid #edf0e9;
}

/* صفحه بندی */
.magazine-posts .elementor-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.magazine-posts .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #dce5dc;
  border-radius: 9px;
  background: #fff;
  color: var(--mp-green);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.magazine-posts .elementor-pagination a.page-numbers:hover,
.magazine-posts .elementor-pagination .page-numbers.current {
  border-color: var(--mp-green);
  background: var(--mp-green);
  color: var(--mp-gold);
}

.magazine-posts a:focus-visible {
  outline: 2px solid #967431;
  outline-offset: 3px;
}

/* موبایل */
@media (max-width: 767px) {
  .magazine-posts .elementor-posts-container,
  .magazine-posts .elementor-loop-container {
    gap: 18px;
  }

  .magazine-posts .elementor-post,
  .magazine-posts .magazine-loop-card {
    border-radius: 14px;
  }

  .magazine-posts .elementor-post__text {
    padding: 19px;
  }

  .magazine-posts .elementor-post__title {
    font-size: 16px;
  }

  .magazine-posts .elementor-post__excerpt p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .magazine-posts *,
  .magazine-posts *::before,
  .magazine-posts *::after {
    transition: none !important;
  }

  .magazine-posts .elementor-post:hover,
  .magazine-posts .magazine-loop-card:hover {
    transform: none;
  }
}
/* حذف فاصله اضافی اطراف تصویر */
.magazine-posts .elementor-post__thumbnail__link {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

/* قاب مربعی تصویر */
.magazine-posts .elementor-post__thumbnail {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* حذف نسبت تصویر قدیمی المنتور */
.magazine-posts .elementor-post__thumbnail::before {
  display: none !important;
  padding: 0 !important;
}

/* پر کردن کامل قاب بدون کشیدگی */
.magazine-posts .elementor-post__thumbnail img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

/* حذف فاصله رزرو شده در پوسته Cards */
.magazine-posts .elementor-post__card {
  padding-top: 0 !important;
}

.magazine-posts .elementor-post__card
.elementor-post__text {
  margin-top: 0 !important;
  padding-top: 20px !important;
}/* End custom CSS */