/*
 Theme Name:     harika-refac-goldika
 Theme URI:      goldika.ir/
 Description:    A custom child theme for harkia theme, goldika styled
 Author:         Mohammad Reza Sharifi
 Author URI:     goldika.ir/blog
 Template:       harika-refac
 Version:        1.0.0
*/

/*
    Your new color variables for the dark mode.
    Note: The other color variables (secondary, neutral, etc.) will be inherited
    from the parent theme's stylesheet.
*/
:root .dark_mode {
    --primary: #F1AA1E;
    --primary-50: #FEFAF1;
    --primary-100: #FDF3DE;
    --primary-200: #FBE4B8;
    --primary-300: #F8D691;
    --primary-400: #F6C76B;
    --primary-500: #F3B944;
    --primary-600: #F1AA1E;
    --primary-700: #CA8A0D;
    --primary-800: #956609;
    --primary-900: #614206;
    --primary-950: #463004;

    --bg: #232832;
    --bg-50: #DDE0E7;
    --bg-100: #D1D6DF;
    --bg-200: #B9C0CE;
    --bg-300: #A1AABD;
    --bg-400: #8995AC;
    --bg-500: #717F9C;
    --bg-600: #5E6B86;
    --bg-700: #4D586E;
    --bg-800: #3C4556;
    --bg-900: #2B323E;
    --bg-950: #232832;
    --bg-1000: #171B22;
}

/* --- Font Declarations --- */
/*
    PeydaWeb (for English text and default)
    All font files are assumed to be in the /my-child-theme/harika-refac-child/fonts/ folder.
*/
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 100;
    src: url('../harika-refac-child/fonts/PeydaWeb-Thin.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Thin.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 200;
    src: url('../harika-refac-child/fonts/PeydaWeb-ExtraLight.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-ExtraLight.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 300;
    src: url('../harika-refac-child/fonts/PeydaWeb-Light.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Light.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 500;
    src: url('../harika-refac-child/fonts/PeydaWeb-Medium.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Medium.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 600;
    src: url('../harika-refac-child/fonts/PeydaWeb-Semibold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Semibold.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 800;
    src: url('../harika-refac-child/fonts/PeydaWeb-ExtraBold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-ExtraBold.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 900;
    src: url('../harika-refac-child/fonts/PeydaWeb-Black.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Black.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: bold;
    src: url('../harika-refac-child/fonts/PeydaWeb-Bold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Bold.woff') format('woff');
}
@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: normal;
    src: url('../harika-refac-child/fonts/PeydaWeb-Regular.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWeb-Regular.woff') format('woff');
}

/*
    PeydaWebFaNum (for Persian text and numbers)
*/
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 100;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Thin.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Thin.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 200;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-ExtraLight.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-ExtraLight.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 300;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Light.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Light.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 500;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Medium.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Medium.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 600;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-SemiBold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-SemiBold.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 800;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-ExtraBold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-ExtraBold.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: 900;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Black.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Black.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Bold.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Bold.woff') format('woff');
}
@font-face {
    font-family: PeydaWebFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('../harika-refac-child/fonts/PeydaWebFaNum-Regular.woff2') format('woff2'),
         url('../harika-refac-child/fonts/PeydaWebFaNum-Regular.woff') format('woff');
}

/* --- Font Application Rules --- */

/* Apply PeydaWebFaNum to Persian content based on the language attribute on the <body> tag */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, button {
    font-family: 'PeydaWebFaNum', sans-serif !important;
}

/* Apply PeydaWeb to English content and as a fallback */
body[lang^="en"] {
    font-family: 'PeydaWeb', sans-serif !important;
}

/* Custom font weights for headings */
h2 {
    font-weight: 800; /* ExtraBold */
}

h3 {
    font-weight: 600; /* Semibold */
}


.elementor-post__badge , table{
  font-family: 'PeydaWebFaNum';
}

h4 {
    font-weight: 500; /* Medium */
}
.ab-icon:before{
   font-family: 'dashicons';
}

form.comment-form .comment-inputs p input, form textarea, input[type=submit] ,math {
    font-family: 'PeydaWebFaNum';