/* Kurdish Fonts CSS - Rabar_032 */
/* Source: https://www.kurdfonts.com/ku/font-info/540 */
/* Note: @font-face declaration is loaded inline in header.php with absolute paths for better reliability */

/* Apply Rabar_032 to Kurdish language content */
html[lang="ckb"],
html[dir="rtl"],
[lang="ckb"],
[dir="rtl"] {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Apply to body when Kurdish is the site language */
body[lang="ckb"],
body[dir="rtl"] {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Kurdish text elements */
.ckb-text,
.kurdish-text,
[class*="kurdish"],
[class*="ckb"] {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Headings in Kurdish */
html[lang="ckb"] h1,
html[lang="ckb"] h2,
html[lang="ckb"] h3,
html[lang="ckb"] h4,
html[lang="ckb"] h5,
html[lang="ckb"] h6,
[lang="ckb"] h1,
[lang="ckb"] h2,
[lang="ckb"] h3,
[lang="ckb"] h4,
[lang="ckb"] h5,
[lang="ckb"] h6 {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Paragraphs and text in Kurdish */
html[lang="ckb"] p,
html[lang="ckb"] span,
html[lang="ckb"] div,
html[lang="ckb"] a,
html[lang="ckb"] li,
html[lang="ckb"] td,
html[lang="ckb"] th,
[lang="ckb"] p,
[lang="ckb"] span,
[lang="ckb"] div,
[lang="ckb"] a,
[lang="ckb"] li,
[lang="ckb"] td,
[lang="ckb"] th {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Form elements in Kurdish */
html[lang="ckb"] input,
html[lang="ckb"] textarea,
html[lang="ckb"] select,
html[lang="ckb"] button,
[lang="ckb"] input,
[lang="ckb"] textarea,
[lang="ckb"] select,
[lang="ckb"] button {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Navigation and menu items in Kurdish */
html[lang="ckb"] nav,
html[lang="ckb"] .nav,
html[lang="ckb"] .navbar,
html[lang="ckb"] .menu,
[lang="ckb"] nav,
[lang="ckb"] .nav,
[lang="ckb"] .navbar,
[lang="ckb"] .menu {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Footer in Kurdish */
html[lang="ckb"] footer,
html[lang="ckb"] .footer,
[lang="ckb"] footer,
[lang="ckb"] .footer {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Override Bootstrap and other frameworks for Kurdish */
html[lang="ckb"] *,
[lang="ckb"] * {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Specific classes that might need font override */
html[lang="ckb"] .btn,
html[lang="ckb"] .card,
html[lang="ckb"] .modal,
html[lang="ckb"] .dropdown,
[lang="ckb"] .btn,
[lang="ckb"] .card,
[lang="ckb"] .modal,
[lang="ckb"] .dropdown {
    font-family: 'Rabar_032', 'Tahoma', 'Arial', sans-serif !important;
}

/* Ensure proper text rendering for Kurdish characters */
html[lang="ckb"],
[lang="ckb"] {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better font sizes for Kurdish content */
html[lang="ckb"] body,
[lang="ckb"] body,
html[dir="rtl"] body {
    font-size: 18px; /* Better readable base font size */
    line-height: 1.6; /* Better line height for readability */
    font-weight: 400; /* Normal weight for body text */
}

html[lang="ckb"] h1,
[lang="ckb"] h1,
html[dir="rtl"] h1 {
    font-size: 2.5rem; /* 40px - Better size for main headings */
    line-height: 1.2;
    font-weight: 700; /* Bold */
}

html[lang="ckb"] h2,
[lang="ckb"] h2,
html[dir="rtl"] h2 {
    font-size: 2rem; /* 32px - Better size for subheadings */
    line-height: 1.3;
    font-weight: 700; /* Bold */
}

html[lang="ckb"] h3,
[lang="ckb"] h3,
html[dir="rtl"] h3 {
    font-size: 1.5rem; /* 24px - Better size for section headings */
    line-height: 1.4;
    font-weight: 600; /* Semi-bold */
}

html[lang="ckb"] h4,
[lang="ckb"] h4,
html[dir="rtl"] h4 {
    font-size: 1.25rem; /* 20px - Better size for subsection headings */
    line-height: 1.5;
    font-weight: 600; /* Semi-bold */
}

html[lang="ckb"] h5,
[lang="ckb"] h5,
html[dir="rtl"] h5 {
    font-size: 1.125rem; /* 18px - Better readable size */
    line-height: 1.5;
    font-weight: 600; /* Semi-bold */
}

html[lang="ckb"] h6,
[lang="ckb"] h6,
html[dir="rtl"] h6 {
    font-size: 1rem; /* 16px - Better readable size */
    line-height: 1.5;
    font-weight: 600; /* Semi-bold */
}

html[lang="ckb"] p,
[lang="ckb"] p,
html[dir="rtl"] p {
    font-size: 1rem; /* 16px */
    line-height: 1.7; /* Better line spacing for readability */
    font-weight: 400; /* Normal weight */
}

/* Font weight variations */
.rabar-light {
    font-weight: 300;
}

.rabar-normal {
    font-weight: normal;
}

.rabar-bold {
    font-weight: bold;
}

