/* WP-only tweaks on top of the original site CSS */

/* Admin bar clearance */
body.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* Kill WP block-library / global styles that fight the original type system */
html[lang="fa"] body {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
}

html[lang="en"] body {
  font-family: "Personal Sans", Arial, sans-serif !important;
}

html[lang="fa"] body,
html[lang="fa"] .wordmark,
html[lang="fa"] .hero-name,
html[lang="fa"] .portrait-card figcaption strong,
html[lang="fa"] .about-heading > span,
html[lang="fa"] .footer,
html[lang="fa"] .header,
html[lang="fa"] .hero h1,
html[lang="fa"] .hero-intro,
html[lang="fa"] .eyebrow,
html[lang="fa"] .section-heading h2,
html[lang="fa"] .brands-heading h2,
html[lang="fa"] .service-card,
html[lang="fa"] .button,
html[lang="fa"] nav,
html[lang="fa"] .social-icons a {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  letter-spacing: 0;
}

/* Keep mirrored homepage images crisp inside WP content filters */
.logo-grid img,
.portrait-frame img,
.venture-logo,
.subbrand-link img,
.education-logo-link img,
.media-thumbnail img,
.blog-thumbnail img {
  max-width: 100%;
  height: auto;
}

.portrait-frame img {
  height: 100%;
  object-fit: cover;
}

/* Avoid WP admin bar / content margin pushing the sticky header */
html {
  margin-top: 0 !important;
}
