.elementor-29134 .elementor-element.elementor-element-789f060{--display:flex;--padding-top:60px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-29134 .elementor-element.elementor-element-031758b{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-29134 .elementor-element.elementor-element-c4917cc{--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-29134 .elementor-element.elementor-element-85610b6 .elementor-heading-title{font-family:"yekanbakh", Sans-serif;font-size:25px;font-weight:600;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-29134 .elementor-element.elementor-element-b1b5c75{font-family:"yekanbakh", Sans-serif;font-weight:400;color:var( --e-global-color-primary );}.elementor-29134 .elementor-element.elementor-element-819a32f{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-29134 .elementor-element.elementor-element-f5f1c39{text-align:center;}.elementor-29134 .elementor-element.elementor-element-f5f1c39 .elementor-heading-title{font-family:"yekanbakh", Sans-serif;font-size:18px;font-weight:600;}.elementor-widget-archive-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-archive-posts .elementor-post__title, .elementor-widget-archive-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-archive-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-archive-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-archive-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-archive-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-archive-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-archive-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-archive-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-widget-archive-posts .elementor-posts-nothing-found{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-29134 .elementor-element.elementor-element-9714f42{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-29134 .elementor-element.elementor-element-9714f42:after{content:"0.66";}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__thumbnail__link{width:100%;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__text{margin-top:20px;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__badge{right:0;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__card .elementor-post__badge{margin:20px;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__title, .elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__title a{font-size:18px;font-weight:600;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__excerpt p{font-weight:400;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:767px){.elementor-29134 .elementor-element.elementor-element-789f060{--padding-top:40px;--padding-bottom:0px;--padding-left:10px;--padding-right:10px;}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-29134 .elementor-element.elementor-element-9714f42:after{content:"0.5";}.elementor-29134 .elementor-element.elementor-element-9714f42 .elementor-post__thumbnail__link{width:100%;}}/* Start custom CSS for container, class: .elementor-element-789f060 *//* ==========================================================
   هوفر — استایل صفحه‌ی آرشیو مقالات (مجله هوفر)
   ساختار المنتور: .archive-blog > [هیرو: متن + تصویر] + گرید مقالات + صفحه‌بندی
   کد را در: Elementor > تنظیمات صفحه > Custom CSS بگذارید.
   توکن‌ها هم‌سان با houfer-single-article.css است.
   ========================================================== */

.archive-blog {
  --ink:        #17130F;
  --ink-soft:   #4A423A;
  --muted:      #857A6E;
  --line:       #EAE4DC;
  --surface:    #FAF8F5;
  --accent:     #97551F;
  --accent-ink: #6E3D14;
  --radius: 14px;
}

/* ---------- هیرو: متن راست، تصویر چپ ---------- */
.archive-blog > .e-con-inner > .e-con:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}

/* ستون متن */
.archive-blog > .e-con-inner > .e-con:first-child > .e-con:first-child {
  flex: 1 1 380px;
  min-width: 0;
}

/* ستون تصویر */
.archive-blog > .e-con-inner > .e-con:first-child > .e-con:last-child {
  flex: 1 1 340px;
  min-width: 0;
}

.archive-blog .elementor-widget-image img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* عنوان «مجله هوفر» */
.archive-blog .elementor-widget-heading:first-of-type .elementor-heading-title,
.archive-blog > .e-con-inner > .e-con:first-child .elementor-heading-title {
  position: relative;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px;
  padding-inline-start: 16px;
}
.archive-blog > .e-con-inner > .e-con:first-child .elementor-heading-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  width: 5px;
  height: 0.85em;
  border-radius: 5px;
  background: var(--accent);
}

.archive-blog .elementor-widget-text-editor p {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
  color: var(--ink-soft);
  text-align: justify;
  max-width: 60ch;
}

/* ---------- تیتر بخش «جدیدترین مقالات» ---------- */
.archive-blog > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 28px;
  white-space: nowrap;
}
/* خط ممتد بعد از تیتر */
.archive-blog > .e-con-inner > .elementor-widget-heading .elementor-heading-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

/* ---------- گرید کارت‌ها ---------- */
.archive-blog .elementor-posts-container.elementor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.archive-blog .elementor-post__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.archive-blog .elementor-post__card:hover {
  border-color: #D9CFC2;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 19, 15, .07);
}

/* تصویر */
.archive-blog .elementor-post__thumbnail__link { display: block; }
.archive-blog .elementor-post__thumbnail {
  aspect-ratio: 16 / 9;
  height: auto !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  background: var(--surface);
}
.archive-blog .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* گرادیان هاور المنتور را خاموش می‌کند */
.archive-blog .elementor-posts__hover-gradient .elementor-post__thumbnail__link::after {
  display: none;
}

/* متن کارت */
.archive-blog .elementor-post__text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;      /* تاریخ همیشه ته کارت می‌ماند */
  padding: 20px;
  margin: 0;
}

.archive-blog .elementor-post__title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 700;
}
.archive-blog .elementor-post__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
  /* حداکثر دو خط، بقیه با سه‌نقطه */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-blog .elementor-post__card:hover .elementor-post__title a { color: var(--accent); }

.archive-blog .elementor-post__excerpt {
  margin: 0;
  flex: 1 1 auto;
}
.archive-blog .elementor-post__excerpt p {
  margin: 0;
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- برچسب دسته‌بندی روی تصویر ---------- */
.archive-blog .elementor-post__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: rgba(23, 19, 15, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

/* ---------- تاریخ در پایین کارت ---------- */
.archive-blog .elementor-post__meta-data {
  margin: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.archive-blog .elementor-post__meta-data .elementor-post-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* آیکون تقویم ساده پیش از تاریخ */
.archive-blog .elementor-post__meta-data .elementor-post-date::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}

/* ---------- صفحه‌بندی ---------- */
.archive-blog .elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.archive-blog .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.archive-blog .elementor-pagination a.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.archive-blog .elementor-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.archive-blog .elementor-pagination .page-numbers.dots {
  border-color: transparent;
  color: var(--muted);
  min-width: 24px;
  padding: 0;
}
/* «قبلی» غیرفعال در صفحه‌ی اول */
.archive-blog .elementor-pagination span.page-numbers.prev,
.archive-blog .elementor-pagination span.page-numbers.next {
  opacity: .4;
  cursor: default;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1024px) {
  .archive-blog .elementor-posts-container.elementor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .archive-blog > .e-con-inner > .e-con:first-child {
    gap: 28px;
    margin-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .archive-blog .elementor-posts-container.elementor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .archive-blog > .e-con-inner > .e-con:first-child {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 36px;
  }
  .archive-blog .elementor-widget-image img { max-height: 220px; }
  .archive-blog .elementor-widget-text-editor p { font-size: 15px; text-align: right; }
  .archive-blog > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
    white-space: normal;
  }
  .archive-blog .elementor-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ---------- دسترس‌پذیری ---------- */
.archive-blog a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .archive-blog * { transition: none !important; }
  .archive-blog .elementor-post__card:hover { transform: none; }
}/* End custom CSS */