/* Apply the Yekan Bakh Persian font across the template, overriding the
   theme's Latin heading/body font classes. The @font-face rules live in
   assets/fonts/persian-fonts/yekanbakh/style.css (link that before this file). */

body, h1, h2, h3, h4, h5, h6, p, a, span, li, label, button, input, textarea, select,
.section-title, .section-subtitle, .title, .text, .info-text,
[class*="font-bdogrotesk"], [class*="font-heading"] {
    font-family: 'YekanBakh', sans-serif !important;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 19px;
}

h6 {
    font-size: 17px;
}

/* Mobile type scale: the desktop sizes above are far too large on phones. */
@media only screen and (max-width: 767px) {
    .section-title {
        font-size: 32px;
        line-height: 1.45;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 575px) {
    .section-title {
        font-size: 28px;
    }
}
