/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/* ==========================================================================
   Vazirmatn - self-hosted
   Loaded locally on purpose: Google Fonts is slow/unreliable from Iran, and a
   remote @import blocks first paint. Files live in this theme's /fonts/ dir so
   they travel with the theme on migration.
   ========================================================================== */

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   YekanBakh (FaNum) - self-hosted
   The FaNum cut renders digits as Persian numerals, so ۱۴۰۴ and phone numbers
   read correctly without any extra markup. Commercial font: the client needs a
   licence for it. Vazirmatn above stays installed as the free fallback.
   ========================================================================== */

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('fonts/YekanBakhFaNum-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Pinar — the display family the demo referenced as pinards1fan.
   The real files lived in the vendor package's theme, not in ours, which is
   why that name resolved to nothing before and had to be aliased away.
   DS1/DS2 are the display cuts; FD is the Farsi-digit variant, which is the
   one the demo actually asked for.
   ========================================================================== */
@font-face {
	font-family: 'Pinar';
	src: url('fonts/Pinar-FD.woff2') format('woff2'),
	     url('fonts/Pinar-FD.woff') format('woff'),
	     url('fonts/Pinar-FD.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Pinar Display';
	src: url('fonts/Pinar-DS1-FD.woff2') format('woff2'),
	     url('fonts/Pinar-DS1-FD.woff') format('woff'),
	     url('fonts/Pinar-DS1-FD.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Pinar Display 2';
	src: url('fonts/Pinar-DS2-FD.woff2') format('woff2'),
	     url('fonts/Pinar-DS2-FD.woff') format('woff'),
	     url('fonts/Pinar-DS2-FD.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* The exact names the demo's own markup uses, so imported content resolves. */
@font-face {
	font-family: 'pinards1fan';
	src: url('fonts/Pinar-DS1-FD.woff2') format('woff2'),
	     url('fonts/Pinar-DS1-FD.woff') format('woff'),
	     url('fonts/Pinar-DS1-FD.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'pinards2fan';
	src: url('fonts/Pinar-DS2-FD.woff2') format('woff2'),
	     url('fonts/Pinar-DS2-FD.woff') format('woff'),
	     url('fonts/Pinar-DS2-FD.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'pinarfan';
	src: url('fonts/Pinar-FD.woff2') format('woff2'),
	     url('fonts/Pinar-FD.woff') format('woff'),
	     url('fonts/Pinar-FD.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* The demo kit asks for fonts that only existed in the vendor build. Alias them
   so any widget still referencing them falls back to a font we actually ship,
   instead of dropping to a system serif. */
@font-face {
	font-family: 'iranyekanfan';
	src: url('fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'iransansfan';
	src: url('fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
	font-weight: 700;
	font-display: swap;
}

/* Persian digits and correct number shaping in Persian text */
body {
	font-feature-settings: 'ss02';
}
