.elementor-6079 .elementor-element.elementor-element-f933918{--spacer-size:60px;}@media(max-width:767px){.elementor-6079 .elementor-element.elementor-element-d88bd88{width:100%;}.elementor-6079 .elementor-element.elementor-element-a4421f2{width:var( --container-widget-width, 334.8px );max-width:334.8px;--container-widget-width:334.8px;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-a4421f2 *//* ===== HC Training List (Scoped) ===== */
.hc-training-wrap{
  direction: rtl;
  font-family: inherit;
  max-width: 980px;
  margin: 0 auto;
}

.hc-training-header{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, rgba(168,85,247,.10), rgba(59,130,246,.08));
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  margin-bottom: 18px;
}
.hc-training-header h2{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 800;
}
.hc-training-header p{
  margin: 0;
  color: rgba(0,0,0,.70);
  font-size: 13.5px;
  line-height: 1.9;
}

.hc-teachers-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 840px){
  .hc-teachers-grid{ grid-template-columns: 1fr; }
}

.hc-teacher-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
}
.hc-teacher-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: linear-gradient(135deg, rgba(168,85,247,.10), rgba(59,130,246,.06));
}
.hc-teacher-title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  margin: 0;
}
.hc-teacher-badge{
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.70);
  white-space: nowrap;
}

.hc-items{
  list-style: none;
  padding: 12px 12px 14px;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hc-item a,
.hc-item .hc-item-disabled{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.07);
  background: rgba(0,0,0,.02);
  text-decoration: none !important;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.hc-item a:hover{
  transform: translateY(-1px);
  background: rgba(59,130,246,.06);
  border-color: rgba(59,130,246,.20);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.hc-item-text{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hc-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(168,85,247,.10);
}
.hc-item-name{
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(0,0,0,.85);
  line-height: 1.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-item-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.hc-pill{
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: rgba(0,0,0,.70);
  white-space: nowrap;
}
.hc-pill-live{
  border-color: rgba(34,197,94,.25);
  background: rgba(34,197,94,.08);
  color: #0f7a2a;
}
.hc-pill-soon{
  border-color: rgba(245,158,11,.25);
  background: rgba(245,158,11,.12);
  color: #8a5a00;
}

.hc-link-icon{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
  color: #1d4ed8;
  font-weight: 900;
  line-height: 1;
}

.hc-item .hc-item-disabled{
  opacity: .75;
  background: rgba(0,0,0,.02);
}
.hc-item .hc-item-disabled .hc-link-icon{
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.10);
  color: rgba(0,0,0,.45);
}




/* ===== HC Training List - Mobile Responsive Fix (append at end) ===== */
@media (max-width: 520px){

  /* اجازه بده آیتم‌ها بشکنن و ستون‌ها جمع‌وجور بشن */
  .hc-item a,
  .hc-item .hc-item-disabled{
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* متن عنوان به جای یک خط، 2 خط و بیشتر بشه */
  .hc-item-name{
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    line-height: 1.85 !important;
  }

  /* بخش متن فضای بیشتری بگیره */
  .hc-item-text{
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  /* لیبل + آیکن برن خط بعد و کامل دیده بشن */
  .hc-item-meta{
    flex: 1 1 100% !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin-top: 2px !important;
  }

  /* کمی کوچک‌تر برای موبایل */
  .hc-pill{
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  .hc-link-icon{
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
  }

  /* فاصله از فوتر (طبق خواسته‌ات) */
  .hc-training-wrap{
    padding-bottom: 70px !important;
    margin-bottom: 70px !important;
  }
}


/* ===== HC Training List - Desktop/Tablet Fix (append at end) ===== */

/* 1) ساختار فلکس را طوری کن که متا همیشه دیده شود */
.hc-item a,
.hc-item .hc-item-disabled{
  justify-content: flex-start !important; /* به جای space-between */
}

/* در RTL این margin-right:auto باعث می‌شود meta برود سمت چپ و همیشه جا داشته باشد */
.hc-item-meta{
  margin-right: auto !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

/* 2) متن اجازه داشته باشد چند خط شود ولی با 2 خط کنترل شود */
.hc-item-text{
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.hc-item-name{
  white-space: normal !important;        /* دیگر تک‌خطی نباشد */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;       /* دو خطیِ تمیز */
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.85 !important;
}

/* 3) کمی جمع‌وجورتر برای تبلت که فضای افقی کمتر است */
@media (max-width: 1024px){
  .hc-pill{
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  .hc-link-icon{
    width: 30px !important;
    height: 30px !important;
  }
}/* End custom CSS */