
/* Thmanyah Sans Font Family */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('https://toolaiblog.com/wp-content/uploads/fonts/thmanyahsans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('https://toolaiblog.com/wp-content/uploads/fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('https://toolaiblog.com/wp-content/uploads/fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('https://toolaiblog.com/wp-content/uploads/fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('https://toolaiblog.com/wp-content/uploads/fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Apply to body and headings */
body, html {
  font-family: 'Thmanyah Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Thmanyah Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; font-weight: 900; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 500; }

/* 8dp spacing grid */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;
  --space-12: 128px;
}

p, ul, ol { margin-bottom: var(--space-4); }
article { margin-bottom: var(--space-8); }
section { padding: var(--space-8) 0; }

/* RTL Support */
html[lang="ar"] body, 
html[dir="rtl"] body {
  font-family: 'Thmanyah Sans', 'Tajawal', sans-serif;
}
