/* TradesFolks 18.4.89 — Service Directory Pattern
   Aligns Sourcing Solutions + Business Growth with the recent clean image-first system. */

.tf-homepage .tf-sourcing-solutions,
.tf-homepage .tf-business-growth-services{
  padding:13px 0 16px!important;
  background:#f7f9fc!important;
}
.tf-homepage .tf-sourcing-solutions>.shell,
.tf-homepage .tf-business-growth-services>.shell{
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding:0!important;
}
.tf-homepage .tf-service-section-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0 0 9px!important;
}
.tf-homepage .tf-service-section-head>div{
  min-width:0!important;
}
.tf-homepage .tf-service-section-head>div>span{
  display:block!important;
  margin:0 0 3px!important;
  color:#075bc7!important;
  font-size:6.8px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
.tf-homepage .tf-service-section-head h2{
  margin:0!important;
  color:#0b2343!important;
  font-size:23px!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}
.tf-homepage .tf-service-section-head p{
  margin:3px 0 0!important;
  color:#718096!important;
  font-size:7.8px!important;
  line-height:1.3!important;
}
.tf-homepage .tf-service-section-head>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:29px!important;
  padding:0 10px!important;
  border:1px solid #d8e4f1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#075bc7!important;
  font-size:6.8px!important;
  font-weight:850!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.tf-homepage .tf-service-section-head>a b{
  margin-left:5px!important;
}

.tf-homepage .tf-service-card-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
}

.tf-homepage .tf-service-card--directory{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid #dfe7f0!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(9,35,69,.04)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.tf-homepage .tf-service-card--directory:hover{
  transform:translateY(-2px)!important;
  border-color:#c7d7e8!important;
  box-shadow:0 10px 24px rgba(9,35,69,.08)!important;
}

/* image-first hero */
.tf-homepage .tf-service-card-directory-hero{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#0b2343!important;
  text-decoration:none!important;
}
.tf-homepage .tf-service-card-directory-hero:before,
.tf-homepage .tf-service-card-directory-hero:after{
  display:none!important;
  content:none!important;
}
.tf-homepage .tf-service-card-media{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:188px!important;
  min-height:188px!important;
  padding:5px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.tf-homepage .tf-service-card-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
.tf-homepage .tf-service-card-media i{
  display:grid!important;
  place-items:center!important;
  width:72px!important;
  height:72px!important;
  border-radius:20px!important;
  background:#f2f6fb!important;
  color:#075bc7!important;
  font-style:normal!important;
  font-weight:900!important;
}

/* compact branded footer */
.tf-homepage .tf-service-card-directory-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-height:76px!important;
  padding:10px 12px 11px!important;
  background:linear-gradient(180deg,#ffd85f 0%,#fbbf24 100%)!important;
  color:#0b2343!important;
}
.tf-homepage .tf-service-card-directory-copy small{
  display:block!important;
  margin:0 0 4px!important;
  color:#71510b!important;
  font-size:5.7px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
.tf-homepage .tf-service-card-directory-copy h3{
  display:block!important;
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  color:#0b2343!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.tf-homepage .tf-service-card-directory-cta{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  margin-top:6px!important;
  color:#0b4f9f!important;
  font-size:6.8px!important;
  font-weight:850!important;
}
.tf-homepage .tf-service-card-directory-cta svg{
  width:12px!important;
  height:12px!important;
  flex:0 0 auto!important;
}

/* subtle distinct palette per service card */
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n+2) .tf-service-card-directory-copy{
  background:linear-gradient(180deg,#e7f3ff 0%,#d7eaff 100%)!important;
}
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n+3) .tf-service-card-directory-copy{
  background:linear-gradient(180deg,#e9f7e7 0%,#dcefd9 100%)!important;
}
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n) .tf-service-card-directory-copy{
  background:linear-gradient(180deg,#fff0e5 0%,#f8dfcf 100%)!important;
}

/* clean 3-item directory row */
.tf-homepage .tf-service-directory-mini-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  min-height:96px!important;
  border-top:1px solid #e7edf4!important;
  background:#fff!important;
}
.tf-homepage .tf-service-directory-mini-grid>a{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:96px!important;
  padding:7px 5px!important;
  border:0!important;
  border-right:1px solid #e7edf4!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#40506a!important;
  text-decoration:none!important;
}
.tf-homepage .tf-service-directory-mini-grid>a:last-child{
  border-right:0!important;
}
.tf-homepage .tf-service-directory-mini-grid>a:hover{
  background:#fbfcfe!important;
  transform:none!important;
}
.tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  margin:0 0 5px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
}
.tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image i{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  border-radius:13px!important;
  background:#f3f6fa!important;
  color:#075bc7!important;
  font-style:normal!important;
  font-weight:900!important;
}
.tf-homepage .tf-service-directory-mini-grid strong{
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  color:#45546c!important;
  font-size:6.9px!important;
  font-weight:750!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

/* laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .tf-service-card-grid{
    gap:8px!important;
  }
  .tf-homepage .tf-service-card-media{
    height:162px!important;
    min-height:162px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:68px!important;
    padding:9px 10px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:10.5px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:86px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
    width:50px!important;
    height:50px!important;
  }
}

/* tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .tf-service-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .tf-service-card-media{
    height:175px!important;
    min-height:175px!important;
  }
}

/* mobile */
@media(max-width:699px){
  .tf-homepage .tf-sourcing-solutions,
  .tf-homepage .tf-business-growth-services{
    padding:10px 0 14px!important;
  }
  .tf-homepage .tf-sourcing-solutions>.shell,
  .tf-homepage .tf-business-growth-services>.shell{
    width:100%!important;
    padding:0 7px!important;
    box-sizing:border-box!important;
  }
  .tf-homepage .tf-service-section-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:4px 7px!important;
    margin-bottom:7px!important;
  }
  .tf-homepage .tf-service-section-head h2{
    font-size:17px!important;
  }
  .tf-homepage .tf-service-section-head p{
    font-size:6.4px!important;
  }
  .tf-homepage .tf-service-section-head>a{
    min-height:26px!important;
    padding-inline:7px!important;
    font-size:5.8px!important;
  }
  .tf-homepage .tf-service-card-grid{
    display:flex!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .tf-homepage .tf-service-card-grid::-webkit-scrollbar{
    display:none!important;
  }
  .tf-homepage .tf-service-card--directory{
    flex:0 0 78vw!important;
    width:78vw!important;
    min-width:78vw!important;
    scroll-snap-align:start!important;
  }
  .tf-homepage .tf-service-card-media{
    height:175px!important;
    min-height:175px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:68px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:10.5px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:82px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
    width:46px!important;
    height:46px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid strong{
    font-size:6.2px!important;
  }
}


/* TradesFolks 18.4.90 — Compact Service Directory refinement
   Reduces vertical footprint while preserving the recent image-first pattern. */

.tf-homepage .tf-sourcing-solutions,
.tf-homepage .tf-business-growth-services{
  padding:10px 0 13px!important;
}

.tf-homepage .tf-service-section-head{
  gap:11px!important;
  margin-bottom:7px!important;
}
.tf-homepage .tf-service-section-head>div>span{
  margin-bottom:2px!important;
  font-size:6.1px!important;
}
.tf-homepage .tf-service-section-head h2{
  font-size:20px!important;
  line-height:1.02!important;
}
.tf-homepage .tf-service-section-head p{
  margin-top:2px!important;
  font-size:7px!important;
}
.tf-homepage .tf-service-section-head>a{
  min-height:27px!important;
  height:27px!important;
  padding:0 9px!important;
  border-radius:8px!important;
  font-size:6.2px!important;
}

.tf-homepage .tf-service-card-grid{
  gap:8px!important;
}

.tf-homepage .tf-service-card--directory{
  border-radius:13px!important;
}

/* Main media becomes visibly more compact */
.tf-homepage .tf-service-card-media{
  height:148px!important;
  min-height:148px!important;
  padding:4px!important;
}

/* Compact colored title band */
.tf-homepage .tf-service-card-directory-copy{
  min-height:60px!important;
  padding:7px 10px 8px!important;
}
.tf-homepage .tf-service-card-directory-copy small{
  margin-bottom:2px!important;
  font-size:4.9px!important;
}
.tf-homepage .tf-service-card-directory-copy h3{
  font-size:10.5px!important;
  line-height:1.1!important;
}
.tf-homepage .tf-service-card-directory-cta{
  gap:4px!important;
  margin-top:4px!important;
  font-size:5.9px!important;
}
.tf-homepage .tf-service-card-directory-cta svg{
  width:10px!important;
  height:10px!important;
}

/* Mini category strip becomes shallower */
.tf-homepage .tf-service-directory-mini-grid{
  min-height:74px!important;
}
.tf-homepage .tf-service-directory-mini-grid>a{
  min-height:74px!important;
  padding:5px 4px!important;
}
.tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
  width:42px!important;
  height:42px!important;
  margin-bottom:3px!important;
}
.tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image i{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
}
.tf-homepage .tf-service-directory-mini-grid strong{
  font-size:5.9px!important;
  line-height:1.15!important;
}

/* 1280–1535: keep four compact cards */
@media(min-width:1280px) and (max-width:1535px){
  .tf-homepage .tf-service-card-media{
    height:138px!important;
    min-height:138px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:56px!important;
    padding:6px 9px 7px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:9.5px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:68px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
    width:38px!important;
    height:38px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid strong{
    font-size:5.4px!important;
  }
}

/* Laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .tf-service-card-grid{
    gap:7px!important;
  }
  .tf-homepage .tf-service-card-media{
    height:132px!important;
    min-height:132px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:54px!important;
    padding:6px 8px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:9px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:66px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
    width:36px!important;
    height:36px!important;
  }
}

/* Tablet remains 2-column, but more compact */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .tf-service-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tf-homepage .tf-service-card-media{
    height:145px!important;
    min-height:145px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:58px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:70px!important;
  }
}

/* Mobile: swipe cards smaller and denser */
@media(max-width:699px){
  .tf-homepage .tf-sourcing-solutions,
  .tf-homepage .tf-business-growth-services{
    padding:9px 0 12px!important;
  }
  .tf-homepage .tf-service-section-head{
    margin-bottom:6px!important;
  }
  .tf-homepage .tf-service-section-head h2{
    font-size:15.5px!important;
  }
  .tf-homepage .tf-service-section-head p{
    font-size:5.9px!important;
  }
  .tf-homepage .tf-service-section-head>a{
    min-height:24px!important;
    height:24px!important;
    padding-inline:6px!important;
    font-size:5.3px!important;
  }
  .tf-homepage .tf-service-card-grid{
    gap:7px!important;
  }
  .tf-homepage .tf-service-card--directory{
    flex-basis:72vw!important;
    width:72vw!important;
    min-width:72vw!important;
    border-radius:12px!important;
  }
  .tf-homepage .tf-service-card-media{
    height:140px!important;
    min-height:140px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:54px!important;
    padding:6px 8px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:9px!important;
  }
  .tf-homepage .tf-service-card-directory-cta{
    font-size:5.3px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:64px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid .tf-service-mini-image{
    width:34px!important;
    height:34px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid strong{
    font-size:5.2px!important;
  }
}


/* TradesFolks 18.4.91 — Service Card Footer UI Fix
   Fixes oversized pill/blob footer appearance seen in production QA. */

.tf-homepage .tf-service-card-directory-copy{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:100%!important;
  min-height:64px!important;
  height:64px!important;
  margin:0!important;
  padding:8px 11px 9px!important;
  overflow:hidden!important;
  border-radius:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

/* remove inherited rounded-pill shapes from legacy styles */
.tf-homepage .tf-service-card-directory-copy,
.tf-homepage .tf-service-card-directory-copy *{
  transform:none!important;
}
.tf-homepage .tf-service-card-directory-copy:before,
.tf-homepage .tf-service-card-directory-copy:after{
  display:none!important;
  content:none!important;
}

.tf-homepage .tf-service-card-directory-copy small{
  display:block!important;
  width:100%!important;
  margin:0 0 3px!important;
  padding:0!important;
  overflow:hidden!important;
  color:#6f5412!important;
  font-size:5.1px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.tf-homepage .tf-service-card-directory-copy h3{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#0b2343!important;
  font-size:10.6px!important;
  font-weight:900!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-shadow:none!important;
}

/* CTA becomes a clean text action, not a grey capsule */
.tf-homepage .tf-service-card-directory-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:5px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#075bc7!important;
  font-size:5.9px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.tf-homepage .tf-service-card-directory-cta svg{
  width:10px!important;
  height:10px!important;
  flex:0 0 auto!important;
}

/* clean divider between media/footer/mini grid */
.tf-homepage .tf-service-card-media{
  border-bottom:1px solid #edf1f5!important;
}
.tf-homepage .tf-service-directory-mini-grid{
  border-top:1px solid #e6edf4!important;
}

/* Keep color variety but as flat compact bands */
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n+1) .tf-service-card-directory-copy{
  background:#ffd257!important;
}
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n+2) .tf-service-card-directory-copy{
  background:#dcecff!important;
}
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n+3) .tf-service-card-directory-copy{
  background:#dff1dc!important;
}
.tf-homepage .tf-service-card-grid .tf-service-card--directory:nth-child(4n) .tf-service-card-directory-copy{
  background:#f9dfd0!important;
}

/* Desktop visual balance */
@media(min-width:1280px){
  .tf-homepage .tf-service-card-media{
    height:142px!important;
    min-height:142px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:62px!important;
    height:62px!important;
    padding:8px 10px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:10.2px!important;
  }
  .tf-homepage .tf-service-directory-mini-grid,
  .tf-homepage .tf-service-directory-mini-grid>a{
    min-height:70px!important;
  }
}

/* Laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .tf-service-card-media{
    height:132px!important;
    min-height:132px!important;
  }
  .tf-homepage .tf-service-card-directory-copy{
    min-height:58px!important;
    height:58px!important;
    padding:7px 9px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:9.3px!important;
  }
  .tf-homepage .tf-service-card-directory-copy small{
    font-size:4.7px!important;
  }
}

/* Tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:60px!important;
    height:60px!important;
  }
}

/* Mobile */
@media(max-width:699px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:56px!important;
    height:56px!important;
    padding:7px 8px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:8.8px!important;
  }
  .tf-homepage .tf-service-card-directory-copy small{
    font-size:4.4px!important;
  }
  .tf-homepage .tf-service-card-directory-cta{
    margin-top:4px!important;
    font-size:5.1px!important;
  }
}


/* TradesFolks 18.4.92 — Service Title Clipping / Alignment Fix
   Removes legacy fixed-height clipping and stabilizes title + CTA rendering. */

.tf-homepage .tf-service-card-directory-copy{
  position:relative!important;
  display:grid!important;
  grid-template-rows:auto auto auto!important;
  align-content:center!important;
  align-items:start!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
  min-height:68px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 11px 9px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  border-radius:0!important;
}

/* kill inherited offsets/sizes from previous service-card styles */
.tf-homepage .tf-service-card-directory-copy small,
.tf-homepage .tf-service-card-directory-copy h3,
.tf-homepage .tf-service-card-directory-cta{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  float:none!important;
}

.tf-homepage .tf-service-card-directory-copy small{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#755711!important;
  font-size:5px!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:.065em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.tf-homepage .tf-service-card-directory-copy h3{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#0b2343!important;
  font-size:10.4px!important;
  font-weight:900!important;
  line-height:1.16!important;
  letter-spacing:-.018em!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-shadow:none!important;
}

.tf-homepage .tf-service-card-directory-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-self:start!important;
  width:auto!important;
  min-width:0!important;
  min-height:16px!important;
  height:16px!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#075bc7!important;
  font-size:5.8px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.tf-homepage .tf-service-card-directory-cta svg{
  display:block!important;
  width:9px!important;
  height:9px!important;
  margin-left:3px!important;
  flex:0 0 auto!important;
}

/* media/footer seam stays clean */
.tf-homepage .tf-service-card-media{
  position:relative!important;
  z-index:1!important;
  border-bottom:1px solid #edf1f5!important;
}
.tf-homepage .tf-service-card-directory-copy{
  position:relative!important;
  z-index:2!important;
}

/* Desktop */
@media(min-width:1280px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:66px!important;
    height:auto!important;
    padding:8px 10px 9px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:10px!important;
  }
}

/* Laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:62px!important;
    height:auto!important;
    padding:7px 9px 8px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:9.2px!important;
  }
  .tf-homepage .tf-service-card-directory-copy small{
    font-size:4.6px!important;
  }
}

/* Tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:64px!important;
    height:auto!important;
  }
}

/* Mobile */
@media(max-width:699px){
  .tf-homepage .tf-service-card-directory-copy{
    min-height:58px!important;
    height:auto!important;
    padding:7px 8px!important;
    gap:2px!important;
  }
  .tf-homepage .tf-service-card-directory-copy h3{
    font-size:8.7px!important;
  }
  .tf-homepage .tf-service-card-directory-copy small{
    font-size:4.3px!important;
  }
  .tf-homepage .tf-service-card-directory-cta{
    min-height:14px!important;
    height:14px!important;
    font-size:5px!important;
  }
}
