/*
 * ReviewIt FIXED16 - local IRANSans
 * Loaded after the theme styles so the legacy typography cannot override it.
 */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans.woff2') format('woff2'),
         url('../fonts/IRANSans.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html body,
html body p,
html body li,
html body a,
html body span,
html body div,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body input,
html body textarea,
html body select,
html body button,
html body table,
html body td,
html body th,
html body label,
html body .entry-title,
html body .entry-content,
html body .widget,
html body .widget-title,
html body #nav,
html body #nav a,
html body .review,
html body .review-tabs {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
}

html body {
    font-size: 14px;
    line-height: 1.9;
}

html body .entry-content,
html body .entry-content p,
html body .review,
html body .review p {
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   FILM HAY 39 - Filmina-style typography only
   Layout / sidebar geometry intentionally untouched.
   ========================================================= */
html body {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
    word-spacing: 0.15px;
    text-rendering: optimizeLegibility;
}

html body p,
html body li,
html body td,
html body th,
html body label,
html body input,
html body textarea,
html body select,
html body button {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
}

/* Main headings */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    letter-spacing: 0 !important;
    line-height: 1.65 !important;
}

html body h1 { font-size: 32px !important; font-weight: 700 !important; }
html body h2 { font-size: 25px !important; font-weight: 700 !important; }
html body h3 { font-size: 21px !important; font-weight: 700 !important; }
html body h4 { font-size: 17px !important; font-weight: 700 !important; }
html body h5 { font-size: 16px !important; font-weight: 700 !important; }
html body h6 { font-size: 15px !important; font-weight: 700 !important; }

/* Navigation */
html body #nav,
html body #nav a,
html body #nav li,
html body .menu,
html body .menu a,
html body .menu li {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
}

/* Sidebar typography: visual typography only; no dimensions/position changed. */
html body #sidebar,
html body #sidebar a,
html body #sidebar li,
html body #sidebar .widget,
html body #sidebar .widgettitle,
html body #sidebar .widget-title {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}
html body #sidebar .widgettitle,
html body #sidebar .widget-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}
html body #sidebar .widget a,
html body #sidebar .widget li {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
}

/* Home poster titles */
html body #content .review-box-container .review-box .review-box-text h2,
html body .review-box .review-box-text h2,
html body .review-box .review-box-text h2 a {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.75 !important;
    letter-spacing: 0 !important;
}

/* Single-post title and metadata */
html body .page-title,
html body .page-title.post-title,
html body .post-text h2 {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}
html body .page-title.post-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
}
html body .post-text h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}
html body .post-meta {
    font-size: 13px !important;
    line-height: 1.9 !important;
}

/* Main article text */
html body .entry-content,
html body .entry-content p,
html body .post-text,
html body .post-text p,
html body .review,
html body .review p {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 2.05 !important;
}

/* Responsive typography */
@media only screen and (max-width: 900px) {
    html body { font-size: 14px !important; }
    html body h1 { font-size: 28px !important; }
    html body h2 { font-size: 23px !important; }
    html body h3 { font-size: 20px !important; }
    html body .page-title.post-title { font-size: 27px !important; }
}

@media only screen and (max-width: 600px) {
    html body { font-size: 14px !important; line-height: 1.95 !important; }
    html body p,
    html body li,
    html body td,
    html body th { font-size: 14px !important; line-height: 1.95 !important; }
    html body h1 { font-size: 25px !important; }
    html body h2 { font-size: 21px !important; }
    html body h3 { font-size: 18px !important; }
    html body .page-title.post-title { font-size: 24px !important; }
    html body .review-box .review-box-text h2 { font-size: 16px !important; }
}
