/* ============================================================
   EMERALD LUXE — تم زمردی طلایی اشرافی
   آکادمی طراحی جواهر سپهرکیا
   لوگو: 75×75 پیکسل
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --el-emerald: #0B3D2E;
  --el-emerald-mid: #0F5C44;
  --el-emerald-light: #1A7A5C;
  --el-emerald-soft: #E8F5F0;
  --el-gold: #C9A227;
  --el-gold-soft: #E8D48B;
  --el-gold-deep: #8A6B1F;
  --el-champagne: #F7F0E0;
  --el-ivory: #FAF7F2;
  --el-ink: #1A1F1C;
  --el-muted: #5C6B64;
  --el-dark: #0A1F18;
  --el-card: #FFFFFF;
  --el-line: rgba(11, 61, 46, 0.12);
  --el-radius: 14px;
  --el-shadow: 0 12px 40px rgba(11, 61, 46, 0.10);
  --el-font-size-base: 1rem;
  --el-logo-size: 75px;
}

/* ---------- پایه ---------- */
body.tpl-emerald-luxe {
  background: var(--el-ivory) !important;
  color: var(--el-ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: var(--el-font-size-base);
  line-height: 1.75;
}

body.tpl-emerald-luxe h1,
body.tpl-emerald-luxe h2,
body.tpl-emerald-luxe h3,
body.tpl-emerald-luxe .el-display {
  font-family: "Cormorant Garamond", "Vazirmatn", serif;
  letter-spacing: 0.01em;
}

/* ---------- نوار بالایی (نه آبی — زمردی تیره) ---------- */
.el-topbar {
  background: linear-gradient(90deg, #061510 0%, #0F5C44 50%, #061510 100%) !important;
  color: var(--el-champagne) !important;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}
.el-topbar-item { opacity: 0.92; }
.el-topbar-sep { color: var(--el-gold); margin: 0 0.65rem; opacity: 0.7; }
.el-topbar-phone {
  color: var(--el-gold-soft) !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}
.el-topbar-phone:hover { color: #fff !important; }
.el-topbar-phone i { margin-left: 6px; }

/* ---------- هدر / نوبار ---------- */
body.tpl-emerald-luxe .navbar,
body.tpl-emerald-luxe .el-navbar {
  background: rgba(250, 247, 242, 0.97) !important;
  border-bottom: 1px solid var(--el-line) !important;
  box-shadow: 0 4px 20px rgba(11, 61, 46, 0.06);
  padding: 0.65rem 0;
  backdrop-filter: blur(10px);
}

/* جلوگیری از رنگ آبی پیش‌فرض style.css روی برند */
body.tpl-emerald-luxe .navbar-brand,
body.tpl-emerald-luxe .navbar-brand span,
body.tpl-emerald-luxe .el-brand-main {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--el-emerald) !important;
}

.el-brand {
  display: flex !important;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
}

/* ---- لوگو 75×75 ---- */
.el-logo-icon {
  width: var(--el-logo-size) !important;
  height: var(--el-logo-size) !important;
  min-width: var(--el-logo-size);
  min-height: var(--el-logo-size);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--el-emerald-mid), var(--el-emerald));
  color: var(--el-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(11, 61, 46, 0.25);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  overflow: hidden;
  flex-shrink: 0;
}

/* عکس لوگو — دقیقاً 75×75 */
.el-logo-img,
body.tpl-emerald-luxe .navbar-brand img,
body.tpl-emerald-luxe .el-brand img {
  width: var(--el-logo-size) !important;
  height: var(--el-logo-size) !important;
  max-width: var(--el-logo-size) !important;
  max-height: var(--el-logo-size) !important;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}

.el-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.el-brand-main {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--el-emerald) !important;
}
.el-brand-sub {
  font-size: 0.68rem;
  color: var(--el-gold-deep);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: "Cormorant Garamond", serif;
}

body.tpl-emerald-luxe .el-nav .nav-link {
  color: var(--el-ink) !important;
  font-weight: 550;
  font-size: 0.92rem;
  padding: 0.4rem 0.85rem !important;
  position: relative;
  transition: color 0.25s;
}
body.tpl-emerald-luxe .el-nav .nav-link:hover {
  color: var(--el-emerald-mid) !important;
}
body.tpl-emerald-luxe .el-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--el-gold), var(--el-emerald-light));
  transition: width 0.3s ease;
  border-radius: 2px;
}
body.tpl-emerald-luxe .el-nav .nav-link:hover::after {
  width: 60%;
}

/* دکمه‌ها */
body.tpl-emerald-luxe .btn-primary-custom,
body.tpl-emerald-luxe .el-btn-gold {
  background: linear-gradient(135deg, #E8D48B 0%, #C9A227 45%, #A67C1A 100%) !important;
  color: #1A1205 !important;
  border: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.28);
  transition: filter 0.25s, transform 0.2s;
}
body.tpl-emerald-luxe .btn-primary-custom:hover,
body.tpl-emerald-luxe .el-btn-gold:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  color: #1A1205 !important;
}

body.tpl-emerald-luxe .btn-outline-custom,
body.tpl-emerald-luxe .el-btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--el-emerald) !important;
  color: var(--el-emerald) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.25s;
}
body.tpl-emerald-luxe .btn-outline-custom:hover {
  background: var(--el-emerald) !important;
  color: #fff !important;
}

.el-toggler {
  border: 1px solid var(--el-line);
  border-radius: 8px;
}

/* ---------- فوتر ---------- */
body.tpl-emerald-luxe .footer,
body.tpl-emerald-luxe .el-footer {
  background: linear-gradient(180deg, var(--el-dark) 0%, #061510 100%) !important;
  color: rgba(247, 240, 224, 0.78) !important;
  border-top: none !important;
  padding: 60px 0 24px !important;
  position: relative;
  overflow: hidden;
}
.el-footer-ornament {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--el-gold), var(--el-emerald-light), var(--el-gold), transparent);
}
.el-footer-brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--el-gold-soft) !important;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-decoration: none !important;
}
.el-footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--el-emerald-mid), var(--el-emerald));
  color: var(--el-gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  overflow: hidden;
}
.el-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.el-footer-desc {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(247, 240, 224, 0.7);
  margin-bottom: 1.25rem;
}
.el-footer-title {
  color: var(--el-gold-soft) !important;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
body.tpl-emerald-luxe .el-footer a {
  color: rgba(247, 240, 224, 0.72) !important;
  font-size: 0.88rem;
  transition: color 0.25s;
}
body.tpl-emerald-luxe .el-footer a:hover {
  color: var(--el-gold) !important;
}
.el-footer-social {
  display: flex;
  gap: 12px;
}
.el-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--el-gold-soft) !important;
  transition: all 0.25s;
}
.el-footer-social a:hover {
  background: var(--el-gold);
  color: var(--el-dark) !important;
  border-color: var(--el-gold);
}
.el-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.55rem;
}
.el-contact-list i {
  color: var(--el-gold);
  margin-top: 3px;
}
.el-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(247, 240, 224, 0.5);
}
.el-footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), transparent);
  margin-bottom: 1.25rem;
}

/* ---------- هیرو ---------- */
.el-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 80% 35%, rgba(26, 122, 92, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 75%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(155deg, var(--el-dark) 0%, #0D2E24 40%, #0A1F18 100%);
  color: #fff;
  padding: 70px 0 80px;
}
.el-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.el-hero .container { position: relative; z-index: 2; }

.el-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--el-gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.el-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1rem;
  color: #fff;
}
.el-hero h1 span {
  color: var(--el-gold-soft);
}
.el-hero .lead {
  color: rgba(247, 240, 224, 0.82);
  font-size: 1.05rem;
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 0;
}
.el-checks {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}
.el-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(247, 240, 224, 0.88);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.el-checks li i { color: var(--el-gold); font-size: 1.05rem; }
.el-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.7rem;
}
.el-hero-visual {
  height: 340px;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background:
    radial-gradient(circle at 40% 40%, rgba(26, 122, 92, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(201, 162, 39, 0.2), transparent 50%),
    #0D2A20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.el-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}
.el-hero-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
}

/* ---------- آمار ---------- */
.el-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--el-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: -40px;
  position: relative;
  z-index: 3;
  box-shadow: var(--el-shadow);
}
@media (max-width: 768px) {
  .el-stats { grid-template-columns: repeat(2, 1fr); }
}
.el-stat {
  background: var(--el-card);
  padding: 1.5rem 1rem;
  text-align: center;
}
.el-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--el-emerald);
  line-height: 1.2;
  font-family: "Cormorant Garamond", serif;
}
.el-stat span {
  color: var(--el-muted);
  font-size: 0.85rem;
}

/* ---------- سکشن‌ها ---------- */
.el-section {
  padding: 70px 0;
}
.el-section-title {
  margin-bottom: 2.2rem;
}
.el-section-title .label {
  color: var(--el-gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.el-section-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--el-ink);
}
.el-section-title p {
  color: var(--el-muted);
  margin: 0;
  max-width: 640px;
  font-size: 0.95rem;
}

.el-about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .el-about-grid { grid-template-columns: 1fr; }
}
.el-about-card {
  background: var(--el-card);
  border: 1px solid var(--el-line);
  border-radius: var(--el-radius);
  padding: 1.85rem;
  box-shadow: 0 8px 28px rgba(11, 61, 46, 0.05);
}
.el-about-card p {
  color: var(--el-muted);
  line-height: 2;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.el-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.el-mini-stats div {
  background: var(--el-emerald-soft);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(11, 61, 46, 0.08);
}
.el-mini-stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--el-emerald);
  font-family: "Cormorant Garamond", serif;
}
.el-mini-stats span {
  font-size: 0.8rem;
  color: var(--el-muted);
}

.el-courses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.el-course {
  background: var(--el-card);
  border: 1px solid var(--el-line);
  border-radius: var(--el-radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(11, 61, 46, 0.04);
}
.el-course:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 61, 46, 0.12);
  border-color: rgba(201, 162, 39, 0.35);
}
.el-course-img {
  height: 170px;
  background: linear-gradient(145deg, var(--el-emerald), var(--el-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--el-gold-soft);
  position: relative;
  overflow: hidden;
}
.el-course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.el-course-body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.el-course-cat {
  font-size: 0.75rem;
  color: var(--el-gold-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.el-course-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--el-ink);
  line-height: 1.5;
}
.el-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--el-line);
}
.el-course-price {
  font-weight: 800;
  color: var(--el-emerald);
  font-size: 1rem;
}
.el-course-price.free {
  color: var(--el-gold-deep);
}

.el-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
}
.el-feature {
  background: var(--el-card);
  border: 1px solid var(--el-line);
  border-radius: var(--el-radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.el-feature:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 10px 30px rgba(11, 61, 46, 0.08);
}
.el-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--el-emerald-soft), #fff);
  border: 1.5px solid rgba(11, 61, 46, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--el-emerald);
}
.el-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--el-ink);
}
.el-feature p {
  font-size: 0.88rem;
  color: var(--el-muted);
  margin: 0;
  line-height: 1.75;
}

.el-cta {
  background: linear-gradient(135deg, var(--el-emerald) 0%, var(--el-dark) 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.el-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15), transparent 60%);
  pointer-events: none;
}
.el-cta h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}
.el-cta p {
  color: rgba(247, 240, 224, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}
.el-cta .btn {
  position: relative;
  z-index: 1;
}

body.tpl-emerald-luxe .card,
body.tpl-emerald-luxe .course-card {
  border-radius: var(--el-radius);
  border-color: var(--el-line);
}
body.tpl-emerald-luxe .badge-primary,
body.tpl-emerald-luxe .bg-primary {
  background-color: var(--el-emerald) !important;
}

body.tpl-emerald-luxe .container,
body.tpl-emerald-luxe p,
body.tpl-emerald-luxe li {
  font-size: 0.95rem;
}
body.tpl-emerald-luxe h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
body.tpl-emerald-luxe h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); }
body.tpl-emerald-luxe h3 { font-size: 1.15rem; }

@media (max-width: 991px) {
  .el-hero { min-height: auto; padding: 50px 0 60px; }
  .el-brand-sub { display: none; }
  .el-hero-visual { height: 240px; font-size: 4rem; margin-top: 2rem; }
}
@media (max-width: 576px) {
  .el-topbar { font-size: 0.75rem; }
  .el-brand-main { font-size: 0.92rem; }
  :root { --el-logo-size: 56px; }
}

/* ---- رفع قطعی آیکون لوزی/الماس روی لوگو ---- */
body.tpl-emerald-luxe .navbar-brand i,
body.tpl-emerald-luxe .el-brand i.bi-diamond-fill,
body.tpl-emerald-luxe .el-brand i.bi-gem,
body.tpl-emerald-luxe .el-brand i.bi-mortarboard-fill,
body.tpl-emerald-luxe .el-logo-icon i {
  display: none !important;
}
body.tpl-emerald-luxe .el-logo-icon:has(img) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.tpl-emerald-luxe .navbar-brand::before,
body.tpl-emerald-luxe .navbar-brand::after {
  content: none !important;
  display: none !important;
}

/* ============================================================
   هماهنگی همه صفحات داخلی با تم زمردی (دوره‌ها، اخبار، مقالات، …)
   ============================================================ */

/* پس‌زمینه و متن کل سایت */
body.tpl-emerald-luxe {
  background: var(--el-ivory) !important;
  color: var(--el-ink) !important;
}

/* دکمه‌های آبی پیش‌فرض → طلایی/زمردی */
body.tpl-emerald-luxe .btn-primary,
body.tpl-emerald-luxe .btn-primary-custom,
body.tpl-emerald-luxe a.btn-primary {
  background: linear-gradient(135deg, #E8D48B 0%, #C9A227 45%, #A67C1A 100%) !important;
  border-color: transparent !important;
  color: #1A1205 !important;
}
body.tpl-emerald-luxe .btn-outline-primary,
body.tpl-emerald-luxe .btn-outline-custom {
  border-color: var(--el-emerald) !important;
  color: var(--el-emerald) !important;
  background: transparent !important;
}
body.tpl-emerald-luxe .btn-outline-primary:hover,
body.tpl-emerald-luxe .btn-outline-custom:hover {
  background: var(--el-emerald) !important;
  color: #fff !important;
}

/* لینک‌ها و عناوین */
body.tpl-emerald-luxe a:not(.btn):not(.nav-link):not(.navbar-brand) {
  color: var(--el-emerald-mid);
}
body.tpl-emerald-luxe a:not(.btn):not(.nav-link):hover {
  color: var(--el-gold-deep);
}

/* کارت‌ها */
body.tpl-emerald-luxe .card,
body.tpl-emerald-luxe .course-card,
body.tpl-emerald-luxe .news-card,
body.tpl-emerald-luxe .article-card {
  background: #fff !important;
  border: 1px solid var(--el-line) !important;
  border-radius: var(--el-radius) !important;
  box-shadow: 0 6px 20px rgba(11, 61, 46, 0.05) !important;
}
body.tpl-emerald-luxe .card-title,
body.tpl-emerald-luxe .course-card h3,
body.tpl-emerald-luxe .course-card h5 {
  color: var(--el-ink) !important;
}

/* بج و برچسب‌ها */
body.tpl-emerald-luxe .badge,
body.tpl-emerald-luxe .badge-primary,
body.tpl-emerald-luxe .bg-primary {
  background-color: var(--el-emerald) !important;
  color: #fff !important;
}
body.tpl-emerald-luxe .text-primary {
  color: var(--el-emerald) !important;
}

/* صفحه دوره‌ها — گرید و فیلتر */
body.tpl-emerald-luxe .page-header,
body.tpl-emerald-luxe .section-title,
body.tpl-emerald-luxe h1, 
body.tpl-emerald-luxe h2 {
  color: var(--el-ink) !important;
}
body.tpl-emerald-luxe .hero-section,
body.tpl-emerald-luxe .page-hero,
body.tpl-emerald-luxe .courses-hero,
body.tpl-emerald-luxe .banner-slide {
  background: linear-gradient(155deg, var(--el-dark) 0%, #0D2E24 50%, #0A1F18 100%) !important;
  color: #fff !important;
}

/* گرادیان‌های آبی باقی‌مانده در style.css */
body.tpl-emerald-luxe [style*="#2563"],
body.tpl-emerald-luxe [style*="#3B82"],
body.tpl-emerald-luxe [style*="#1E40"] {
  /* نمی‌توان استایل اینلاین را کامل override کرد؛ کلاس‌ها را پوشش می‌دهیم */
}

/* دسته‌بندی‌ها و چیپ‌ها */
body.tpl-emerald-luxe .cat-physics,
body.tpl-emerald-luxe .category-badge,
body.tpl-emerald-luxe .chip {
  background: var(--el-emerald-soft) !important;
  color: var(--el-emerald) !important;
}

/* فرم‌ها */
body.tpl-emerald-luxe .form-control:focus,
body.tpl-emerald-luxe .form-select:focus {
  border-color: var(--el-emerald-light) !important;
  box-shadow: 0 0 0 0.2rem rgba(11, 61, 46, 0.15) !important;
}
body.tpl-emerald-luxe .form-label {
  color: var(--el-ink);
}

/* صفحه‌بندی */
body.tpl-emerald-luxe .page-link {
  color: var(--el-emerald) !important;
}
body.tpl-emerald-luxe .page-item.active .page-link {
  background-color: var(--el-emerald) !important;
  border-color: var(--el-emerald) !important;
  color: #fff !important;
}

/* لیست اخبار / مقالات */
body.tpl-emerald-luxe .news-item,
body.tpl-emerald-luxe .article-item,
body.tpl-emerald-luxe .list-group-item {
  border-color: var(--el-line) !important;
}
body.tpl-emerald-luxe .list-group-item-action:hover {
  background: var(--el-emerald-soft) !important;
}

/* پنل کاربری و صفحات داخلی عمومی */
body.tpl-emerald-luxe .sidebar,
body.tpl-emerald-luxe .panel-sidebar {
  background: #fff;
  border-color: var(--el-line);
}
body.tpl-emerald-luxe .nav-pills .nav-link.active {
  background-color: var(--el-emerald) !important;
}

/* جدول‌ها */
body.tpl-emerald-luxe .table thead th {
  background: var(--el-emerald-soft) !important;
  color: var(--el-emerald) !important;
  border-color: var(--el-line) !important;
}

/* آلرت‌ها */
body.tpl-emerald-luxe .alert-primary {
  background-color: var(--el-emerald-soft) !important;
  border-color: rgba(11, 61, 46, 0.2) !important;
  color: var(--el-emerald) !important;
}

/* هر پس‌زمینه آبی روشن باقی‌مانده در سکشن‌ها */
body.tpl-emerald-luxe .bg-light {
  background-color: var(--el-ivory) !important;
}
body.tpl-emerald-luxe .bg-primary {
  background-color: var(--el-emerald) !important;
}

/* override گرادیان بنفش/آبی در style.css برای بنرها */
body.tpl-emerald-luxe .section-gradient,
body.tpl-emerald-luxe .promo-banner,
body.tpl-emerald-luxe .feature-box {
  background: linear-gradient(135deg, var(--el-emerald-soft), #fff) !important;
  color: var(--el-ink) !important;
}

/* رنگ فونت آبی Bootstrap → زمردی */
body.tpl-emerald-luxe .text-primary,
body.tpl-emerald-luxe a.text-primary,
body.tpl-emerald-luxe .fw-bold.text-primary {
  color: #0B3D2E !important;
}
body.tpl-emerald-luxe .btn-course {
  background: rgba(11, 61, 46, 0.12) !important;
  color: #0B3D2E !important;
}
body.tpl-emerald-luxe .btn-course:hover {
  background: #0B3D2E !important;
  color: #fff !important;
}
body.tpl-emerald-luxe .course-category,
body.tpl-emerald-luxe .course-price,
body.tpl-emerald-luxe .course-title {
  color: #0B3D2E !important;
}
body.tpl-emerald-luxe .course-title {
  color: #1A1F1C !important;
}
body.tpl-emerald-luxe a:not(.btn):not(.nav-link):not(.el-topbar-phone):not(.footer a) {
  color: #0B3D2E !important;
}
body.tpl-emerald-luxe a:not(.btn):not(.nav-link):hover {
  color: #8A6B1F !important;
}
