/* ========================================
   Droid Arabic Kufi Font Definitions
   ======================================== */

/* Regular (400) */
@font-face {
  font-family: 'DroidArabicKufi';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'DroidArabicKufi';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Arabic subset – Regular */
@font-face {
  font-family: 'DroidArabicKufiArabic';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Arabic subset – Bold */
@font-face {
  font-family: 'DroidArabicKufiArabic';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Menu subset – Regular */
@font-face {
  font-family: 'DroidArabicKufiMenu';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Menu subset – Bold */
@font-face {
  font-family: 'DroidArabicKufiMenu';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   RTL Layout for Arabic (Iraq)
   ======================================== */
html[lang="ar-IQ"] {
  direction: rtl;
  text-align: right;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'DroidArabicKufi', sans-serif !important;
}

body {
	font-family: 'DroidArabicKufi', sans-serif !important;
}

html, Body{font-family:inherit;font-size: 14px;line-height:30px;font-weight: 400;text-align:righ;-webkit-font-smoothing:antialiased;ed}
html,body{overflow-x:hidden;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-kerning:normal;-moz-font-kerning:normal;font-kerning:normal;-webkit-font-feature-settings:"liga";font-feature-settings:"liga","kern"}
body{color:#000;background-color:#fff;line-height:30px;background-repeat:repeat;background-attachment:fixed;overflow-x:hidden;overflow-y:hidden;background-position:0 0;letter-spacing:.01em;word-spacing:.01em}
p{font-size:14px;line-height:30px;font-family:inherit;font-weight:400;letter-spacing:.01em;word-spacing:.01em;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}
caption{font-size:.667rem}
small{font-size:.444rem}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit!important;
    line-height: 1.1;
    color: inherit;
    font-size: 14px!important;
}
.pkp_structure_main h3 {
    font-family: inherit!important;
    font-size: 1.143rem;
    line-height: 1.43rem;
}
.pkp_site_name {
    position: absolute;
    left: 2.857rem;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0.714rem;
    text-align: end!important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(0,0,0,0.84);
    font-family: sans-serif,"Noto Sans",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue";
    font-size: .93rem;
}

/* Arabic content */
.arabic-content,
.arabic-text {
	font-family: 'DroidArabicKufiArabic', "Noto Sans", sans-serif;
	direction: rtl;
}

/* Menu labels */
.menu-label {
	font-family: 'DroidArabicKufiMenu', "Noto Sans", sans-serif;
}/* ========================================
   Droid Arabic Kufi Font Definitions
   ======================================== */

/* Regular (400) */
@font-face {
  font-family: 'DroidArabicKufi';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'DroidArabicKufi';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Arabic subset – Regular */
@font-face {
  font-family: 'DroidArabicKufiArabic';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Arabic subset – Bold */
@font-face {
  font-family: 'DroidArabicKufiArabic';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Menu subset – Regular */
@font-face {
  font-family: 'DroidArabicKufiMenu';
  src: url('fonts/DroidKufi/DroidKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Menu subset – Bold */
@font-face {
  font-family: 'DroidArabicKufiMenu';
  src: url('fonts/DroidKufi/DroidKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   RTL Layout for Arabic (Iraq)
   ======================================== */
html[lang="ar-IQ"] {
  direction: rtl;
  text-align: right;
}

/* Float columns for medium+ screens (optional) */
@media (min-width: 992px) {
  html[lang="ar-IQ"] .col-md-1,
  html[lang="ar-IQ"] .col-md-2,
  html[lang="ar-IQ"] .col-md-3,
  html[lang="ar-IQ"] .col-md-4,
  html[lang="ar-IQ"] .col-md-5,
  html[lang="ar-IQ"] .col-md-6,
  html[lang="ar-IQ"] .col-md-7,
  html[lang="ar-IQ"] .col-md-8,
  html[lang="ar-IQ"] .col-md-9,
  html[lang="ar-IQ"] .col-md-10,
  html[lang="ar-IQ"] .col-md-11,
  html[lang="ar-IQ"] .col-md-12 {
    float: right;
  }
}

/* ========================================
   Global Styles
   ======================================== */
body {
  font-family: 'DroidArabicKufi', "Noto Sans", -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell",
               "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #000;
  background-color: #fff;
  letter-spacing: 0.01em;
  word-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-feature-settings: "liga", "kern";
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'DroidArabicKufi', "Noto Sans", sans-serif;
  line-height: 1.2;
  color: inherit;
}

/* Paragraphs */
p {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  word-spacing: 0.01em;
  hyphens: auto;
}

/* Small text & captions */
caption { font-size: 0.667rem; }
small   { font-size: 0.444rem; }

/* Specific page styles */
.pkp_structure_main h3 {
  font-family: inherit;
  font-size: 1.143rem;
  line-height: 1.43rem;
}

.pkp_site_name {
  position: absolute;
  left: 2.857rem;
  right: 0;
  margin: 0;
  padding-left: 0.714rem;
  text-align: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.84);
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell",
               "Helvetica Neue", sans-serif;
  font-size: 0.93rem;
}

/* Arabic content */
.arabic-content,
.arabic-text {
  font-family: 'DroidArabicKufiArabic', "Noto Sans", sans-serif;
  direction: rtl;
}

/* Menu labels */
.menu-label {
  font-family: 'DroidArabicKufiMenu', "Noto Sans", sans-serif;
}
