.elementor-widget-theme-post-featured-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-29327 .elementor-element.elementor-element-4689f1f img{border-radius:12px 12px 12px 12px;}.elementor-widget-post-info .elementor-icon-list-item:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-widget-post-info .elementor-icon-list-icon i{color:var( --e-global-color-primary );}.elementor-widget-post-info .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );}.elementor-widget-post-info .elementor-icon-list-text, .elementor-widget-post-info .elementor-icon-list-text a{color:var( --e-global-color-secondary );}.elementor-widget-post-info .elementor-icon-list-item{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-29327 .elementor-element.elementor-element-409965b .elementor-icon-list-icon i{color:var( --e-global-color-text );font-size:14px;}.elementor-29327 .elementor-element.elementor-element-409965b .elementor-icon-list-icon svg{fill:var( --e-global-color-text );--e-icon-list-icon-size:14px;}.elementor-29327 .elementor-element.elementor-element-409965b .elementor-icon-list-icon{width:14px;}.elementor-29327 .elementor-element.elementor-element-409965b .elementor-icon-list-text, .elementor-29327 .elementor-element.elementor-element-409965b .elementor-icon-list-text a{color:var( --e-global-color-text );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-29327 .elementor-element.elementor-element-72e6b6e{margin:5px 10px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-widget-table-of-contents{--header-color:var( --e-global-color-secondary );--item-text-color:var( --e-global-color-text );--item-text-hover-color:var( --e-global-color-accent );--marker-color:var( --e-global-color-text );}.elementor-widget-table-of-contents .elementor-toc__header, .elementor-widget-table-of-contents .elementor-toc__header-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-table-of-contents .elementor-toc__list-item{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-29327 .elementor-element.elementor-element-9503386{margin:20px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;--box-border-width:0px;--header-color:var( --e-global-color-text );--item-text-hover-decoration:underline;}.elementor-29327 .elementor-element.elementor-element-9503386 .elementor-toc__header-title{text-align:start;}.elementor-29327 .elementor-element.elementor-element-9503386 .elementor-toc__header{flex-direction:row;}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-29327 .elementor-element.elementor-element-a6e2e0c{margin:25px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-29327 .elementor-element.elementor-element-c85c473{margin:15px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-widget-author-box .elementor-author-box__name{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-author-box .elementor-author-box__bio{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-author-box .elementor-author-box__button{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-author-box .elementor-author-box__button:hover{border-color:var( --e-global-color-secondary );color:var( --e-global-color-secondary );}.elementor-29327 .elementor-element.elementor-element-e37dc1a{background-color:#F1F1F180;padding:12px 12px 12px 12px;border-radius:12px 12px 12px 12px;}.elementor-29327 .elementor-element.elementor-element-e37dc1a .elementor-author-box__avatar img{width:84px;height:84px;}.elementor-29327 .elementor-element.elementor-element-e37dc1a .elementor-author-box__name{color:var( --e-global-color-text );font-family:"Vazirmatn", Sans-serif;font-size:16px;font-weight:700;text-transform:uppercase;line-height:1em;}.elementor-29327 .elementor-element.elementor-element-1ac8e0d{margin:10px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}@media(max-width:1024px){.elementor-widget-theme-post-featured-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-post-info .elementor-icon-list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-theme-post-title .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-table-of-contents .elementor-toc__header, .elementor-widget-table-of-contents .elementor-toc__header-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-table-of-contents .elementor-toc__list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-author-box .elementor-author-box__name{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-author-box .elementor-author-box__bio{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-author-box .elementor-author-box__button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-29327 .elementor-element.elementor-element-e37dc1a .elementor-author-box__name{font-size:30px;}}@media(max-width:767px){.elementor-widget-theme-post-featured-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-post-info .elementor-icon-list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-theme-post-title .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-table-of-contents .elementor-toc__header, .elementor-widget-table-of-contents .elementor-toc__header-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-table-of-contents .elementor-toc__list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-author-box .elementor-author-box__name{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-author-box .elementor-author-box__bio{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-author-box .elementor-author-box__button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-29327 .elementor-element.elementor-element-e37dc1a .elementor-author-box__name{font-size:22px;}}/* Start custom CSS for post-info, class: .elementor-element-409965b *//* Flex wrapper holding both widgets */
.e-5053a02-d14b24f {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  direction: rtl !important;
}

/* Container for each post-info list */
.elementor-post-info {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Base badge style for every item */
.elementor-post-info .elementor-icon-list-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #e63946 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  white-space: nowrap !important;
}

.elementor-post-info .elementor-icon-list-item a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  text-decoration: none !important;
}

.elementor-post-info .elementor-icon-list-item:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Icons */
.elementor-post-info .elementor-icon-list-icon {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.elementor-post-info .elementor-icon-list-icon svg,
.elementor-post-info .elementor-icon-list-icon i {
  font-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
  fill: #fff !important;
  color: #fff !important;
}

/* Text */
.elementor-post-info .elementor-icon-list-text,
.elementor-post-info .elementor-icon-list-text a,
.elementor-post-info .elementor-icon-list-text time {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.4 !important;
}

/* Badge colors per type */
.elementor-repeater-item-1cb9ffe {
  background: #2a9d8f !important; /* author = teal */
}
.elementor-repeater-item-1cb9ffe:hover {
  background: #238b7e !important;
}

.elementor-repeater-item-ba42e88 {
  background: #457b9d !important; /* date = blue */
}
.elementor-repeater-item-ba42e88:hover {
  background: #3a6a89 !important;
}

.elementor-repeater-item-8f2bd69 {
  background: #f4a261 !important; /* comments = orange */
}
.elementor-repeater-item-8f2bd69:hover {
  background: #e8934a !important;
}

.elementor-repeater-item-ca0f593 {
  background: #e63946 !important; /* category = red */
}
.elementor-repeater-item-ca0f593:hover {
  background: #d62839 !important;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .elementor-post-info .elementor-icon-list-item {
    padding: 5px 12px !important;
  }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .e-5053a02-d14b24f {
    gap: 6px !important;
    row-gap: 8px !important;
  }

  .elementor-post-info {
    gap: 6px !important;
  }

  .elementor-post-info .elementor-icon-list-item {
    padding: 5px 12px !important;
  }

  .elementor-post-info .elementor-icon-list-icon svg,
  .elementor-post-info .elementor-icon-list-icon i {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
  }

  .elementor-post-info .elementor-icon-list-text,
  .elementor-post-info .elementor-icon-list-text a,
  .elementor-post-info .elementor-icon-list-text time {
    font-size: 13px !important;
  }
}/* End custom CSS */
/* Start custom CSS for post-comments, class: .elementor-element-7db242d *//* Comments area container */
.comments-area {
  max-width: 100% !important;
  margin-top: 30px !important;
  direction: rtl !important;
  text-align: right !important;
}

/* Respond box */
.comment-respond {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Title */
.comment-reply-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid #f1f1f1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.comment-reply-title small a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #e63946 !important;
  text-decoration: none !important;
}

.comment-reply-title small a:hover {
  text-decoration: underline !important;
}

/* Logged-in-as note */
.logged-in-as {
  font-size: 13px !important;
  color: #777 !important;
  background: #f8f9fa !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  margin-bottom: 18px !important;
}

.logged-in-as a {
  color: #e63946 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.logged-in-as a:hover {
  text-decoration: underline !important;
}

.required-field-message {
  display: block !important;
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #999 !important;
}

.required-field-message .required {
  color: #e63946 !important;
}

/* Comment field label */
.comment-form-comment label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
}

.comment-form-comment .required {
  color: #e63946 !important;
}

/* Textarea */
#comment {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 16px !important;
  border: 1.5px solid #e5e5e5 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  line-height: 1.8 !important;
  color: #333 !important;
  background: #fafafa !important;
  resize: vertical !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

#comment:focus {
  outline: none !important;
  border-color: #e63946 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1) !important;
}

#comment::placeholder {
  color: #aaa !important;
}

/* Submit button */
.form-submit {
  margin-top: 18px !important;
}

#submit {
  background: #e63946 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 32px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25) !important;
}

#submit:hover {
  background: #d62839 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35) !important;
}

#submit:active {
  transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 480px) {
  .comment-respond {
    padding: 18px !important;
    border-radius: 12px !important;
  }

  .comment-reply-title {
    font-size: 17px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  #submit {
    width: 100% !important;
  }
}/* End custom CSS */
/* Start custom CSS for author-box, class: .elementor-element-e37dc1a *//* Author Box container */
.elementor-author-box {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 20px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  direction: rtl !important;
  text-align: right !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.elementor-author-box:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Avatar */
.elementor-author-box__avatar {
  flex-shrink: 0 !important;
}

.elementor-author-box__avatar img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #f1f1f1 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
  transition: transform 0.3s ease !important;
}

.elementor-author-box:hover .elementor-author-box__avatar img {
  transform: scale(1.05) !important;
}

/* Text wrapper */
.elementor-author-box__text {
  flex: 1 !important;
}

/* Author name */
.elementor-author-box__name {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 0 0 6px 0 !important;
  position: relative !important;
  display: inline-block !important;
}

.elementor-author-box__name::before {
  content: "✎ نویسنده مطلب" !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #e63946 !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.3px !important;
}

/* Bio */
.elementor-author-box__bio {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: #666 !important;
  margin-top: 4px !important;
}

.elementor-author-box__bio:empty {
  display: none !important;
}

/* Responsive: stack on small screens */
@media (max-width: 480px) {
  .elementor-author-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .elementor-author-box__name::before {
    display: none !important;
  }
}/* End custom CSS */
/* Start custom CSS for sidebar, class: .elementor-element-1ac8e0d *//* Container */
.recent-post-block {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Each post item */
.recent-post-block li {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 8px !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  direction: rtl !important;
  text-align: right !important;
}

.recent-post-block li:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

/* Image wrapper (when image exists) */
.recent-post-block .wp-block-latest-posts__featured-image {
  flex-shrink: 0 !important;
  width: 70px !important;
  height: 70px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

.recent-post-block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
  transition: transform 0.3s ease !important;
}

.recent-post-block li:hover img {
  transform: scale(1.08) !important;
}

/* Placeholder for posts WITHOUT a featured image */
.recent-post-block li:not(:has(.wp-block-latest-posts__featured-image))::before {
  content: "" !important;
  flex-shrink: 0 !important;
  width: 70px !important;
  height: 70px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #e9ecef, #dee2e6) !important;
  background-image:
    linear-gradient(135deg, #e9ecef, #dee2e6),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: cover, 28px 28px !important;
  display: block !important;
}

/* Post title */
.recent-post-block .wp-block-latest-posts__post-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: #222 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.recent-post-block .wp-block-latest-posts__post-title:hover {
  color: #e63946 !important;
}/* End custom CSS */