/* Start custom CSS for html, class: .elementor-element-5cbd52a *//* ============================================================
   LingoEducatia — CSS بخش دوره‌ها  (نسخه ۲.۰)
   اصلاحات: ریسپانسیو موبایل، بک‌گراند شفاف، رنگ بهار،
             هدر جدول مقایسه sticky و تراز وسط
   ============================================================ */

/* ══ متغیرها ══ */
:root {
  --le-green:       #00A690;
  --le-green-dark:  #008070;
  --le-green-light: #E6F7F4;
  --le-blue:        #0052A4;
  --le-blue-dark:   #003d7a;
  --le-blue-light:  #e8f0fb;
  --le-mint:        #8EE5D1;
  --le-coral:       #FF6B4A;
  --le-yellow:      #FFD52B;
  --le-lavender:    #B6A1E0;
  --le-text-dark:   #1a2533;
  --le-text-mid:    #3d4f5e;
  --le-text-light:  #6b7f8e;
  --le-border:      #dde8e6;
  --le-shadow-sm:   0 2px 8px rgba(0,166,144,0.10);
  --le-shadow-md:   0 6px 24px rgba(0,82,164,0.12);
  --le-shadow-lg:   0 12px 40px rgba(0,82,164,0.16);
  --le-radius-md:   14px;
  --le-radius-lg:   20px;
  --le-radius-xl:   28px;
}

/* ══ پایه ══ */
.le-section,
.le-section *,
.le-section *::before,
.le-section *::after {
  box-sizing: border-box;
}

.le-section {
  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: var(--le-text-dark);
  line-height: 1.7;
  padding: 72px 0;
  /* بک‌گراند شفاف — با سایت تداخل ندارد */
  background: transparent;
}

.le-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══ عنوان بخش ══ */
.le-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.le-section-badge {
  display: inline-block;
  background: var(--le-green-light);
  color: var(--le-green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1.5px solid var(--le-mint);
}

.le-section-badge--blue {
  background: var(--le-blue-light);
  color: var(--le-blue-dark);
  border-color: var(--le-lavender);
}

.le-section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--le-blue);
  margin: 0 0 12px;
  line-height: 1.3;
}

.le-section-subtitle {
  font-size: 1rem;
  color: var(--le-text-mid);
  margin: 0 auto;
  max-width: 520px;
}

/* ══════════════════════════════════════
   تب‌های فصل‌ها
══════════════════════════════════════ */
.le-season-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.le-season-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 26px;
  border-radius: 50px;
  border: 2px solid var(--le-border);
  background: #fff;
  color: var(--le-text-mid);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  outline: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.le-season-tab:hover {
  border-color: var(--le-green);
  color: var(--le-green-dark);
  background: var(--le-green-light);
}

.le-season-tab--active {
  background: var(--le-green);
  border-color: var(--le-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,166,144,0.30);
}

.le-season-tab--active:hover {
  background: var(--le-green-dark);
  border-color: var(--le-green-dark);
  color: #fff;
}

.le-tab-icon { font-size: 1.1em; line-height: 1; }

/* ══════════════════════════════════════
   پنل‌های فصل
══════════════════════════════════════ */
.le-season-panel { display: none; }
.le-season-panel--active {
  display: block;
  animation: leFadeIn 0.28s ease forwards;
}

@keyframes leFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   گرید ترم‌ها — دسکتاپ: دو ستون
══════════════════════════════════════ */
.le-terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ══════════════════════════════════════
   کارت ترم
══════════════════════════════════════ */
.le-term-card {
  background: #fff;
  border-radius: var(--le-radius-lg);
  box-shadow: var(--le-shadow-md);
  overflow: hidden;
  border: 1.5px solid var(--le-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.le-term-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--le-shadow-lg);
}

.le-term-header {
  padding: 22px 24px 18px;
  border-bottom: 1.5px solid var(--le-border);
}

/* ── رنگ هدر فصل‌ها ──
   بهار: تم سبز (هماهنگ با رنگ اصلی برند)
   تابستان: زرد گرم
   پاییز: مرجانی/نارنجی
   زمستان: آبی
*/
.le-term-card--spring1 .le-term-header,
.le-term-card--spring2 .le-term-header {
  background: linear-gradient(135deg, #e6f7f4 0%, #f0fdf9 100%);
}

.le-term-card--summer1 .le-term-header,
.le-term-card--summer2 .le-term-header {
  background: linear-gradient(135deg, #fffbea 0%, #fff8e1 100%);
}

.le-term-card--autumn1 .le-term-header,
.le-term-card--autumn2 .le-term-header {
  background: linear-gradient(135deg, #fff4ef 0%, #fef0e8 100%);
}

.le-term-card--winter1 .le-term-header,
.le-term-card--winter2 .le-term-header {
  background: linear-gradient(135deg, #eef4fc 0%, #e8f0fb 100%);
}

/* badge ترم */
.le-term-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  background: var(--le-green);
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.le-term-badge--secondary  { background: var(--le-blue); }
.le-term-badge--summer     { background: #c88000; }
.le-term-badge--autumn     { background: var(--le-coral); }
.le-term-badge--winter     { background: var(--le-blue); }
.le-term-badge--summer.le-term-badge--secondary { background: #9a6000; }
.le-term-badge--autumn.le-term-badge--secondary { background: #c04030; }
.le-term-badge--winter.le-term-badge--secondary { background: var(--le-blue-dark); }

.le-term-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--le-text-dark);
  margin: 0 0 4px;
}

.le-term-dates-range {
  font-size: 0.83rem;
  color: var(--le-text-light);
  font-weight: 500;
}

/* ══════════════════════════════════════
   جدول زمان‌بندی
══════════════════════════════════════ */
.le-term-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.le-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  direction: rtl;
  text-align: right;
}

.le-schedule-table thead th {
  padding: 12px 16px;
  background: #f8fafb;
  color: var(--le-text-light);
  font-weight: 600;
  font-size: 0.78rem;
  border-bottom: 1.5px solid var(--le-border);
  white-space: nowrap;
}

.le-schedule-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--le-border);
  color: var(--le-text-mid);
  vertical-align: middle;
  white-space: nowrap;
}

.le-schedule-table tbody tr:last-child td { border-bottom: none; }
.le-schedule-table tbody tr:hover td { background: var(--le-green-light); }

/* badge روزها */
.le-days-badge {
  display: inline-block;
  background: var(--le-green-light);
  color: var(--le-green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(0,166,144,0.25);
  white-space: nowrap;
}
.le-days-badge--summer {
  background: #fff8e1; color: #9a6000;
  border-color: rgba(255,213,43,0.4);
}
.le-days-badge--autumn {
  background: #fff0eb; color: #c04020;
  border-color: rgba(255,107,74,0.3);
}
.le-days-badge--winter {
  background: var(--le-blue-light); color: var(--le-blue-dark);
  border-color: rgba(0,82,164,0.2);
}

/* ══════════════════════════════════════
   تب‌های پلن‌ها
══════════════════════════════════════ */
.le-plan-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.le-plan-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--le-border);
  background: #fff;
  color: var(--le-text-mid);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.le-plan-tab:hover {
  border-color: var(--le-blue);
  color: var(--le-blue);
  background: var(--le-blue-light);
}

.le-plan-tab--active {
  background: var(--le-blue);
  border-color: var(--le-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,82,164,0.28);
}

/* ══════════════════════════════════════
   پنل‌های مقایسه
══════════════════════════════════════ */
.le-plan-panel { display: none; }
.le-plan-panel--active {
  display: block;
  animation: leFadeIn 0.28s ease forwards;
}

.le-table-outer {
  background: #fff;
  border-radius: var(--le-radius-xl);
  box-shadow: var(--le-shadow-lg);
  overflow: hidden;
  border: 1.5px solid var(--le-border);
}

/* ══════════════════════════════════════
   جدول مقایسه — ساختار جدید sticky+aligned
   
   رویکرد: از یک <table> واحد استفاده می‌کنیم.
   هدر جدول sticky است و کارت‌های پلن داخل <thead> هستند.
   ستون ویژگی‌ها sticky راست است.
   ستون Premium با border و پس‌زمینه برجسته می‌شود.
══════════════════════════════════════ */
.le-table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.le-compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  direction: rtl;
  text-align: center;
  font-size: 0.9rem;
  table-layout: fixed;
}

/* ستون ویژگی‌ها: ۳۰٪، بقیه یک‌سوم */
.le-compare-table colgroup .col-feat    { width: 30%; }
.le-compare-table colgroup .col-eco    { width: 23.33%; }
.le-compare-table colgroup .col-pre    { width: 23.33%; }
.le-compare-table colgroup .col-vip    { width: 23.33%; }

/* ── هدر sticky ── */
.le-compare-table thead {
  position: sticky;
  top: 0;
  z-index: 20;
}

.le-compare-table thead tr {
  background: #fff;
}

/* سلول هدر پایه */
.le-compare-table thead th {
  padding: 0;
  border-bottom: 2px solid var(--le-border);
  vertical-align: stretch;
  background: #fff;
}

/* ستون ویژگی‌ها در هدر — sticky راست */
.le-compare-table thead th.le-sticky-col {
  position: sticky;
  right: 0;
  background: #f8fafb;
  z-index: 30;
  border-left: 1.5px solid var(--le-border);
}

/* محتوای داخل سلول هدر */
.le-th-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px 16px;
  height: 100%;
  min-height: 100px;
  background: transparent;
}

/* برچسب پیشنهادی */
.le-plan-badge-recommended {
  display: inline-block;
  background: var(--le-yellow);
  color: #6b4700;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(255,213,43,0.35);
  white-space: nowrap;
}

.le-plan-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--le-text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.le-plan-card-desc {
  font-size: 0.75rem;
  color: var(--le-text-light);
  font-weight: 500;
  line-height: 1.4;
}

/* ستون Eco */
.le-th-eco .le-th-inner {
  background: #f8f9fa;
}

/* ستون Premium برجسته */
.le-th-premium {
  border-right: 2.5px solid var(--le-blue) !important;
  border-left: 2.5px solid var(--le-blue) !important;
  border-top: 4px solid var(--le-blue);
}
.le-th-premium .le-th-inner {
  background: linear-gradient(160deg, #e8f0fb 0%, #ddeeff 100%);
}
.le-th-premium .le-plan-card-name { color: var(--le-blue); }

/* ستون VIP */
.le-th-vip .le-th-inner {
  background: linear-gradient(160deg, #e6f7f4 0%, #d8f3ee 100%);
}
.le-th-vip .le-plan-card-name { color: var(--le-green-dark); }

/* ── بدنه جدول ── */
.le-compare-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--le-border);
  color: var(--le-text-mid);
  vertical-align: middle;
  text-align: center;
}

/* ستون ویژگی‌ها sticky */
.le-compare-table tbody td.le-sticky-col {
  position: sticky;
  right: 0;
  background: #fff;
  z-index: 5;
  text-align: right;
  font-weight: 500;
  color: var(--le-text-dark);
  font-size: 0.875rem;
  border-left: 1.5px solid var(--le-border);
}

/* ستون Premium در tbody */
.le-compare-table tbody td.le-col-pre {
  background: rgba(0,82,164,0.03);
  border-right: 2px solid rgba(0,82,164,0.15);
  border-left: 2px solid rgba(0,82,164,0.15);
  font-weight: 600;
}

/* ردیف یک‌درمیان */
.le-row-alt td { background: #fafcfb; }
.le-row-alt td.le-sticky-col { background: #fafcfb; }
.le-row-alt td.le-col-pre   { background: rgba(0,82,164,0.05); }

/* hover ردیف */
.le-compare-table tbody tr:hover td           { background: var(--le-green-light) !important; }
.le-compare-table tbody tr:hover td.le-col-pre { background: rgba(0,82,164,0.10) !important; }

/* ردیف‌های دسته */
.le-cat-row td {
  padding: 9px 16px !important;
  background: linear-gradient(90deg, var(--le-green-light), #f0fdf9) !important;
  color: var(--le-green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: right !important;
  border-bottom: 1.5px solid rgba(0,166,144,0.25) !important;
}
.le-cat-row td.le-sticky-col {
  background: linear-gradient(90deg, var(--le-green-light), #f0fdf9) !important;
}

/* آیکون‌ها */
.le-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--le-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,166,144,0.30);
}

.le-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f1f3f5;
  color: #aab4bc;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px solid #dde3e7;
}

/* ══════════════════════════════════════
   اسکرول‌بار سفارشی
══════════════════════════════════════ */
.le-table-scroll-wrap::-webkit-scrollbar,
.le-term-table-wrap::-webkit-scrollbar { height: 5px; }
.le-table-scroll-wrap::-webkit-scrollbar-track,
.le-term-table-wrap::-webkit-scrollbar-track {
  background: #f0f4f3; border-radius: 10px;
}
.le-table-scroll-wrap::-webkit-scrollbar-thumb,
.le-term-table-wrap::-webkit-scrollbar-thumb {
  background: var(--le-mint); border-radius: 10px;
}
.le-table-scroll-wrap::-webkit-scrollbar-thumb:hover,
.le-term-table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--le-green);
}

/* ══════════════════════════════════════
   ریسپانسیو — تبلت (≤900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  .le-terms-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   ریسپانسیو — موبایل (≤600px)
══════════════════════════════════════ */
@media (max-width: 600px) {

  .le-section { padding: 40px 0; }
  .le-container { padding: 0 14px; }
  .le-section-header { margin-bottom: 28px; }
  .le-section-title { font-size: 1.5rem; }
  .le-section-subtitle { font-size: 0.88rem; }

  /* تب‌های فصل */
  .le-season-tabs { gap: 7px; margin-bottom: 24px; }
  .le-season-tab { padding: 8px 14px; font-size: 0.82rem; }
  .le-plan-tabs  { gap: 7px; margin-bottom: 26px; }
  .le-plan-tab   { padding: 8px 16px; font-size: 0.82rem; }

  /* کارت ترم */
  .le-terms-grid { gap: 16px; }
  .le-term-header { padding: 14px 14px 10px; }
  .le-term-title  { font-size: 1.05rem; }
  .le-term-dates-range { font-size: 0.78rem; }

  /* جدول زمان‌بندی */
  .le-schedule-table thead th { padding: 9px 10px; font-size: 0.7rem; }
  .le-schedule-table tbody td { padding: 9px 10px; font-size: 0.8rem; }
  .le-days-badge { font-size: 0.72rem; padding: 3px 8px; }

  /* جدول مقایسه */
  .le-compare-table { font-size: 0.78rem; min-width: 480px; }

  .le-th-inner { padding: 14px 8px 12px; min-height: 80px; }
  .le-plan-card-name { font-size: 0.92rem; }
  .le-plan-card-desc { font-size: 0.65rem; }
  .le-plan-badge-recommended { font-size: 0.6rem; padding: 2px 8px; }

  .le-compare-table tbody td { padding: 10px 8px; }
  .le-compare-table tbody td.le-sticky-col { font-size: 0.75rem; padding: 10px 8px; }

  .le-check, .le-cross { width: 22px; height: 22px; font-size: 0.72rem; }
  .le-cat-row td { font-size: 0.72rem; padding: 7px 10px !important; }

  /* جدول مقایسه — عرض ستون‌ها */
  .le-compare-table colgroup .col-feat { width: 28%; }
  .le-compare-table colgroup .col-eco  { width: 24%; }
  .le-compare-table colgroup .col-pre  { width: 24%; }
  .le-compare-table colgroup .col-vip  { width: 24%; }

  .le-table-outer { border-radius: var(--le-radius-md); }
}/* End custom CSS */