@font-face {
  font-family: "IRANSansX";
  src: url("ebs-fonts-v1/IRANSansX-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("ebs-fonts-v1/IRANSansX-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("ebs-fonts-v1/IRANSansX-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Dana";
  src: url("ebs-fonts-v1/Dana-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ebs-font-ui: "IRANSansX", Tahoma, sans-serif;
  font-family: var(--ebs-font-ui);
  font-synthesis-weight: none;
}

body {
  font-family: var(--ebs-font-ui);
  font-weight: 400;
}

button, input, select, textarea, .ebs-media-philosophy bdi {
  font-family: inherit;
}

button, nav a, .hero-actions a, .quick-guide > a {
  font-weight: 500;
}

:is(h1, h2, h3, h4) {
  font-weight: 600;
}

[data-ebs-editorial] .hero h1,
[data-ebs-editorial] .workspace h2,
[data-ebs-editorial] .compare h2,
#daily-info h2, #boards h2, .identity h2, #contact h2 {
  font-family: "Dana", var(--ebs-font-ui);
  font-weight: 600;
}

body h1, body h2, body h3, body h4 { font-weight: 600; }
