/* ==========================================================================
   1. Font Faces (Estedad)
   ========================================================================== */
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

/* ==========================================================================
   2. Base & Reset (Mobile-First)
   ========================================================================== */
/**, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}*/

html {
    /* جلوگیری از بزرگ شدن ناخواسته فونت در موبایل */
    -webkit-text-size-adjust: 100%; 
    /* اسکرول نرم */
    scroll-behavior: smooth; 
}

body {
    font-family: 'Estedad', sans-serif;
    line-height: 1.6;
    background-color: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--text-main, #333333);
    -webkit-font-smoothing: antialiased;
}

/* جلوگیری از سرریز تصاویر در موبایل */
img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* حذف استایل پیش‌فرض لیست‌ها */
ul, ol {
    list-style: none;
}