/* MEVASIS custom overrides */

/* Local Inter Variable font — replaces Google Fonts Mona Sans */
@font-face {
  font-family: 'Inter Variable';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --tj-ff-body: 'Inter Variable', sans-serif;
  --tj-ff-heading: 'Inter Variable', sans-serif;
}
/* Keep the logo aspect ratio: the width/height attributes (CLS hint)
   must not distort the img when .site_logo .logo constrains its width. */
.site_logo img {
  height: auto;
}

/* Homepage stats band: keep it clear of the dark services section above
   so it reads as a floating strip (the demo places a light section there).
   The teal band still sits on a light gap and sinks -122px into the
   testimonial section below, matching the theme's designed look. */
.tj-countup-section {
  padding-top: 100px;
}
@media (max-width: 767px) {
  .tj-countup-section {
    padding-top: 60px;
  }
}

/* Homepage blog cards use .blog-img (the generic theme rule is .blog-thumb),
   so the intrinsic 1200x800 attribute stretches the card to ~1000px tall.
   Constrain the image to a fixed height with object-fit cover. */
.tj-blog-section-3 .blog-item .blog-img {
  height: 260px;
  overflow: hidden;
}
.tj-blog-section-3 .blog-item .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .tj-blog-section-3 .blog-item .blog-img {
    height: 220px;
  }
}

/* Footer top padding is load-bearing: .tj-cta-section pulls -195px up into
   the footer, so the perceived excess is the footer-main-area internal gap.
   Tighten that instead of the overlap padding. */
.tj-footer-section.footer-1 .footer-main-area {
  padding-top: 55px;
  padding-bottom: 50px;
}
@media (max-width: 767px) {
  .tj-footer-section.footer-1 .footer-main-area {
    padding-top: 45px;
    padding-bottom: 40px;
  }
}

/* nice-select.css loads async with width:auto, which overrides main.css
   width:100% since it applies after custom.css. Force full width. */
.tj-nice-select-box .nice-select {
  width: 100% !important;
}
