
/* ------------------------
   فونت Sahel
------------------------ */
@font-face {
  font-family: SahelFD;
  src: url('../fonts/Sahel/Sahel-FD.eot');
  src: url('../fonts/Sahel/Sahel-FD.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Sahel/Sahel-FD.woff2') format('woff2'),
       url('../fonts/Sahel/Sahel-FD.woff') format('woff'),
       url('../fonts/Sahel/Sahel-FD.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: SahelFD;
  src: url('../fonts/Sahel/Sahel-Bold-FD.eot');
  src: url('../fonts/Sahel/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Sahel/Sahel-Bold-FD.woff2') format('woff2'),
       url('../fonts/Sahel/Sahel-Bold-FD.woff') format('woff'),
       url('../fonts/Sahel/Sahel-Bold-FD.ttf') format('truetype');
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: SahelFD;
  src: url('../fonts/Sahel/Sahel-Light-FD.eot');
  src: url('../fonts/Sahel/Sahel-Light-FD.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Sahel/Sahel-Light-FD.woff2') format('woff2'),
       url('../fonts/Sahel/Sahel-Light-FD.woff') format('woff'),
       url('../fonts/Sahel/Sahel-Light-FD.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: SahelFD;
  src: url('../fonts/Sahel/Sahel-SemiBold-FD.eot');
  src: url('../fonts/Sahel/Sahel-SemiBold-FD.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Sahel/Sahel-SemiBold-FD.woff2') format('woff2'),
       url('../fonts/Sahel/Sahel-SemiBold-FD.woff') format('woff'),
       url('../fonts/Sahel/Sahel-SemiBold-FD.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: SahelFD;
  src: url('../fonts/Sahel/Sahel-Black-FD.eot');
  src: url('../fonts/Sahel/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Sahel/Sahel-Black-FD.woff2') format('woff2'),
       url('../fonts/Sahel/Sahel-Black-FD.woff') format('woff'),
       url('../fonts/Sahel/Sahel-Black-FD.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'eicons';
  font-display: swap;
  src: inherit; /* این خط مهم است تا سورس اصلی المنتور را خراب نکند */
}

/* ------------------------
   تایپوگرافی و RTL
------------------------ */
body {
  font-family: SahelFD !important;
  direction: rtl;
  width: 100%;
}

h1, h2, h3, h4, h5, h6,
input, textarea, a, label, p,
ul, li, ol, small, caption,
div, table, tr, td, th, span, button {
  font-family: SahelFD !important;
  text-align: right;
}

#wpadminbar span {
  font-family: dashicons !important;
}

:root {
  /* === Base Colors === */
  --color-primary: #8B4513;
  --color-secondary: #C19A6B;
  --color-accent: #D2B48C;

  /* === Backgrounds === */
  --color-background-light: #FAF5EF;
  --color-background-light-glass: rgba(255, 255, 255, 0.2);
  --color-background-dark-glass: rgba(0, 0, 0, 0.3);
  --color-background-dark: #2B1B10;

  /* === Text === */
  --color-text: #2B1B10;
  /* متن روی زمینه روشن */
  --color-text-on-dark: #F5F5F5;
  /* متن روی زمینه تیره */

  /* === System States === */
  --color-alarm: #e63946;
  --color-warning: #E67E22;
  --color-success: #4CAF50;

  --color-hover-alarm: #ff0707;
  --color-alarm-rgb: 230, 57, 70;

  /* === UI Details === */
  --color-link: #A0522D;
  --color-border: #D2B48C;

  /* === Derived / Optional === */
  --color-hover-primary: #A0522D;
  --color-muted: #9E8B73;

  /* === shadow === */
  --color-shadow: #55230080;
  --color-shadow-glass: rgba(0, 0, 0, 0.5);

  --vip-bronze: #8B5E3C;
  --vip-silver: #6E5A48;
  --vip-gold: #C19A6B;
  --vip-diamond: #B8860B;
}

.bronze { color: var(--vip-bronze); }
.silver { color: var(--vip-silver); }
.gold { color: var(--vip-gold); }
.diamond { color: var(--vip-diamond); }

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.e-n-accordion p {
  color: var(--color-text);
}

a:hover {
  color: var(--color-hover-primary);
}