/* Masflair final site-wide consistency layer */
html,body{font-size:17px!important;}
body,body p,body li,body td,body th,body label,body input,body textarea,body select,body option{font-family:'Poppins',sans-serif!important;font-size:17px;}
h1,h2,h3,h4,h5,h6{font-family:'Inter',sans-serif!important;}
.mf-btn,.mf-btn-primary,.mf-btn-outline,.mf-btn-outline-light,.mf-leader-readmore,.mf-associate-read-more,.pxn-btn-primary,.pxn_header_btn,.subscribe_btn,.mf-load-more-btn{background:#D71920!important;color:#fff!important;border-color:#D71920!important;}
.mf-btn:hover,.mf-btn-primary:hover,.mf-btn-outline:hover,.mf-btn-outline-light:hover,.mf-leader-readmore:hover,.mf-associate-read-more:hover,.pxn-btn-primary:hover,.pxn_header_btn:hover,.subscribe_btn:hover,.mf-load-more-btn:hover{background:#B9141A!important;color:#fff!important;border-color:#B9141A!important;}
.mf-cta .mf-btn,.mf-cta .mf-btn-primary,.mf-cta .mf-btn-outline,.mf-cta .mf-btn-outline-light,.mf-download-cta .mf-btn,.mf-download-cta a.mf-btn{background:#fff!important;color:#D71920!important;border-color:#fff!important;}
.mf-cta .mf-btn:hover,.mf-cta .mf-btn-primary:hover,.mf-cta .mf-btn-outline:hover,.mf-cta .mf-btn-outline-light:hover,.mf-download-cta .mf-btn:hover,.mf-download-cta a.mf-btn:hover{background:#f4f4f4!important;color:#D71920!important;border-color:#f4f4f4!important;}
.mf-leader-card{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:250px!important;}
.mf-leader-img{width:250px!important;height:250px!important;min-width:250px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;overflow:hidden!important;}
.mf-leader-img img{width:250px!important;height:250px!important;object-fit:contain!important;object-position:center!important;display:block!important;}
.mf-leader-body p,.mf-associate-card-excerpt{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;}
.mf-leader-body p{min-height:calc(17px * 1.8 * 1)!important;}
/* Gallery uses natural image heights in a true masonry column layout. */
.mf-gallery-grid{display:block!important;column-count:3;column-gap:24px;width:100%;}
.mf-gallery-item{display:inline-block!important;width:100%;height:auto!important;margin:0 0 24px;break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;vertical-align:top;overflow:visible!important;}
.mf-gallery-item img{display:block!important;width:100%!important;height:auto!important;max-width:100%;object-fit:initial!important;object-position:center!important;}
.mf-client-logo-cell{display:flex!important;align-items:center!important;justify-content:center!important;}
.mf-site-footer{background:#0b0b0b!important;color:#fff!important;}
.mf-site-footer h3{font-family:'Inter',sans-serif!important;}
.mf-site-footer p,.mf-site-footer a,.mf-site-footer span{font-family:'Poppins',sans-serif!important;}
@media(max-width:767px){.mf-leader-card{grid-template-columns:1fr!important;}.mf-leader-img{margin:0 auto!important;}.mf-gallery-grid{column-count:2!important;column-gap:20px!important;}.mf-gallery-item{height:auto!important;margin-bottom:20px!important;}}
@media(max-width:480px){.mf-gallery-grid{column-count:1!important;}.mf-gallery-item{height:auto!important;margin-bottom:18px!important;}}
/* Detail pages: match the 250x250 listing portrait exactly while giving text the remaining width. */
.mf-associate-profile-wrap{grid-template-columns:250px minmax(0,1fr)!important;gap:55px!important;align-items:start!important;}
.mf-associate-profile-media{width:250px!important;max-width:250px!important;height:250px!important;position:relative!important;top:auto!important;border-radius:0!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
.mf-associate-profile-media img{width:250px!important;height:250px!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;display:block!important;filter:grayscale(100%)!important;}
@media(max-width:991px){.mf-associate-profile-wrap{grid-template-columns:1fr!important;gap:35px!important;}.mf-associate-profile-media{margin:0 auto!important;width:250px!important;max-width:250px!important;height:250px!important;}}

/* Final visual correction: preserve the original text-style Read More links. */
.mf-leader-readmore,
.mf-associate-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  padding: 0 !important;
  margin-top: auto !important;
  background: transparent !important;
  color: #D71920 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transform: none !important;
}
.mf-leader-readmore i,
.mf-associate-read-more i {
  color: #D71920 !important;
  font-size: 13px !important;
  transition: transform .25s ease !important;
}
.mf-leader-readmore:hover,
.mf-associate-read-more:hover {
  background: transparent !important;
  color: #111 !important;
  border-color: transparent !important;
  transform: none !important;
}
.mf-leader-readmore:hover i,
.mf-associate-read-more:hover i {
  color: #D71920 !important;
  transform: translateX(3px) !important;
}

/* Requested body text consistency. */
.mf-about-content > p {
  font-size: 17px !important;
  color: #0b0b0b !important;
}
.mf-pillar p {
  font-size: 17px !important;
  color: #0b0b0b !important;
}


/* Requested global body-text consistency for selected content classes */
.mf-timeline-step p,
.mf-heading p,
.mf-sol-card p,
.mf-associate-card-excerpt,
.mf-leader-body p {
  font-size: 17px !important;
  color: #1a1919 !important;
}

.mf-why-card p {
color: #fff !important;
font-size: 17px !important;
}

.mf-sol-card p:hover {
color: #fff !important;
font-size: 17px !important;	
}

.mf-sd-block > p  {
color: #1a1919 !important;
}