/*
 * Arabic typography layer, loaded after app-arabic.css on Arabic pages only.
 * Uses the Readex Pro variable font (weights 160–700) so body text is set in a
 * true regular weight and headings in bold, instead of bold everywhere.
 * Note: the theme sets html { font-size: 10px }, so 1rem = 10px.
 */

@font-face {
    font-family: 'Readex Pro Arabic';
    src: url('../../../fonts/ReadexPro-Variable.ttf') format('truetype');
    font-weight: 160 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-primary: 'Readex Pro Arabic', 'Segoe UI', Tahoma, sans-serif;
    --font-secondary: 'Readex Pro Arabic', 'Segoe UI', Tahoma, sans-serif;

    --color-body: #4a4f57;
    --color-heading: #1a1d21;

    --font-size-b1: 17px;
    --font-size-b2: 15px;
    --line-height-b1: 1.9;
    --line-height-b2: 1.85;

    --h1: 46px;
    --h2: 36px;
    --h3: 28px;
    --h4: 22px;
    --h5: 19px;
    --h6: 17px;
    --h1-lineHeight: 1.45;
    --h2-lineHeight: 1.5;
    --h3-lineHeight: 1.5;
    --h4-lineHeight: 1.55;
    --h5-lineHeight: 1.6;
    --h6-lineHeight: 1.65;
}

body {
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 700;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600;
}

p {
    font-weight: 400;
}

strong, b {
    font-weight: 600;
}

/* Letter-spacing breaks the joined shapes of Arabic letters. */
body,
.section-title .pre-title,
.subtitle,
.edu-btn,
.isotop-button button {
    letter-spacing: 0;
}

/* Shared helper classes used across the Arabic views. */
.my-text-large {
    font-size: 1.8rem;
    line-height: 1.85;
}

.large-menu-text {
    font-size: 1.7rem !important;
    font-weight: 500;
}

/* Hero banner */
.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content .subtitle {
    font-size: 1.9rem;
    font-weight: 500;
}

.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content .title {
    font-weight: 700;
    line-height: 1.4;
}

.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content p {
    font-size: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-banner .edu-btn .my-text-large {
    font-size: 1.7rem;
    font-weight: 500;
}

/* Features */
.features-box.features-style-3 .content .title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.features-box.features-style-3 .content p {
    font-size: 1.7rem;
    line-height: 1.9;
}

/* About, founder and other rich-text blocks from the CMS */
.about-content .tab-content,
.about-content .tab-content p,
.team-details-content .bio-describe,
.team-details-content .bio-describe p {
    font-size: 1.8rem;
    line-height: 2;
    color: var(--color-body);
    text-align: justify;
}

.team-details-content .main-info .subtitle {
    font-size: 1.9rem;
}

.team-details-content .main-info .designation {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Counters */
.edu-counterup .my-text-large {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* Programs / faculties */
.section-title .pre-title {
    font-size: 1.9rem;
}

.isotop-button button .filter-text {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Footer */
.edu-footer .edu-footer-widget .widget-title {
    font-size: 2.2rem;
    font-weight: 600;
}

.edu-footer .footer-link li a.my-text-large,
.edu-footer .widget-information .information-list li {
    font-size: 1.7rem;
    line-height: 1.9;
}

.edu-footer .copyright-area p {
    font-size: 1.6rem;
}

@media only screen and (max-width: 991px) {
    :root {
        --h1: 38px;
        --h2: 30px;
        --h3: 25px;
        --h4: 21px;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --font-size-b1: 16px;
        --h1: 30px;
        --h2: 26px;
        --h3: 23px;
        --h4: 20px;
        --h5: 18px;
        --h6: 16px;
    }

    .my-text-large,
    .about-content .tab-content,
    .about-content .tab-content p,
    .team-details-content .bio-describe,
    .team-details-content .bio-describe p {
        font-size: 1.7rem;
    }

    .hero-banner.hero-style-3 .thumbnail-bg-content .banner-content p {
        font-size: 1.7rem;
    }

    .about-content .tab-content,
    .about-content .tab-content p,
    .team-details-content .bio-describe,
    .team-details-content .bio-describe p {
        text-align: start;
    }
}
