/*
 * PitaLand corporate typography system
 *
 * Manrope: headings, navigation and actions.
 * Inter: body copy, forms and supporting information.
 */

:root {
    --pita-font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
    --pita-font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

html {
    font-family: var(--pita-font-body) !important;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
p,
li,
dt,
dd,
blockquote,
label,
input,
textarea,
select,
option,
table,
.post-meta,
.from_the_blog_excerpt,
.breadcrumbs {
    font-family: var(--pita-font-body) !important;
}

body {
    font-weight: 400;
    line-height: 1.65;
}

p,
li,
dt,
dd {
    line-height: 1.7;
}

a {
    font-family: inherit !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.post-title,
.entry-title,
.widget-title,
.pita-duan-card__title {
    font-family: var(--pita-font-heading) !important;
    font-optical-sizing: auto;
    letter-spacing: -.025em;
}

h1 {
    font-weight: 700;
    line-height: 1.16;
}

h2 {
    font-weight: 700;
    line-height: 1.22;
}

h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.32;
}

strong,
b {
    font-weight: 600;
}

/* Corporate navigation: compact, confident and easy to scan. */
.header-main .nav > li > a,
.header-main .nav > li > button,
.nav-dropdown li a,
.mobile-sidebar-levels-2 .nav > li > a {
    font-family: var(--pita-font-heading) !important;
    font-weight: 600;
    letter-spacing: .025em;
}

.header-main .nav > li > a {
    font-size: 13px;
}

.nav-dropdown li a {
    font-size: 13px;
    letter-spacing: 0;
}

/* Actions and form controls share one clear UI voice. */
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wpcf7-submit {
    font-family: var(--pita-font-heading) !important;
    font-weight: 700;
    letter-spacing: .015em;
}

input,
textarea,
select {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

/* Editorial and project cards. */
.post-title,
.post-title a,
.pita-duan-card__title,
.title-first-pitaland,
.title-second-pitaland,
.title-3muc,
.title-tin-noibo,
.title-tin-moinhat,
.title-duan-moi,
.title-video {
    font-family: var(--pita-font-heading) !important;
}

.post-title,
.post-title a {
    font-weight: 700;
    letter-spacing: -.018em;
}

.post-meta,
.cat-label,
.badge,
.from_the_blog_excerpt {
    letter-spacing: 0;
}

.post-meta,
.cat-label,
.badge {
    font-family: var(--pita-font-body) !important;
    font-weight: 600;
}

/* Footer remains legible at smaller sizes. */
.footer-wrapper,
.footer-wrapper p,
.footer-wrapper li,
.footer-wrapper label {
    font-family: var(--pita-font-body) !important;
}

.footer-wrapper h1,
.footer-wrapper h2,
.footer-wrapper h3,
.footer-wrapper h4,
.footer-wrapper h5,
.footer-wrapper h6 {
    font-family: var(--pita-font-heading) !important;
}

@media (max-width: 849px) {
    body {
        font-size: 15px;
    }

    h1 {
        line-height: 1.2;
    }

    h2 {
        line-height: 1.25;
    }

    .nav-sidebar.nav-vertical > li > a {
        font-family: var(--pita-font-heading) !important;
        font-weight: 600;
        letter-spacing: .01em;
    }
}
