/* Docteur GMB — two featured service collections.
 * First: 10 Google Maps/SEO/Ads/reputation services, swipe manually, no arrows.
 * Second: 10 selected cross-category services, two cards per row on phones.
 */
body.dgmb-home .dg-popular{padding:42px 0 44px!important}
body.dgmb-home .dg-popular-controls{display:none!important}
body.dgmb-home .dg-popular-header{margin-bottom:22px!important}
body.dgmb-home .dg-featured-eyebrow{
  display:block!important;
  color:#098f50!important;
  font-family:'Montserrat','Segoe UI',Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:1.15px!important;
  line-height:1.4!important;
  margin:0 0 10px!important
}
body.dgmb-home .dg-featured-description{
  display:block!important;
  margin:9px 0 0!important;
  max-width:770px!important;
  color:#67786e!important;
  font-family:'Montserrat','Segoe UI',Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.7!important
}
body.dgmb-home .dg-popular-card{
  position:relative!important;
  text-decoration:none!important;
  background:#fff!important;
  color:#1b3b29!important;
  border:1px solid #d7e5db!important;
  box-shadow:0 5px 15px #124f2f12!important;
  border-top:4px solid #0c9a54!important;
  min-height:270px!important;
  padding:13px 6px 6px!important;
  gap:10px!important;
  border-radius:14px!important;
}
body.dgmb-home .dg-popular-card:hover{border-color:#94cfaa!important;transform:translateY(-3px)!important;box-shadow:0 12px 28px #166b3e21!important}
body.dgmb-home .dg-popular-card .dg-popular-title{
  font-weight:820!important;
  font-size:clamp(12px,1.35vw,17px)!important;
  line-height:1.33!important;
  color:#1b412c!important;
  padding:0 9px!important;
  overflow-wrap:anywhere!important;
  min-height:2.7em!important
}
body.dgmb-home .dg-popular-card .dg-popular-media{
  margin-top:auto!important;
  border:1px solid #dbeee3!important;
  border-radius:10px!important;
  background:#eff9f3!important;
  aspect-ratio:1.1/1!important;
}
body.dgmb-home .dg-popular-card .dg-popular-media img{
  object-fit:cover!important;
  display:block!important
}
body.dgmb-home .dg-popular-card .dg-featured-draft{
  display:block!important;
  position:absolute!important;
  top:4px!important;
  right:5px!important;
  max-width:83%!important;
  background:#edf8f2!important;
  color:#167046!important;
  border:1px solid #b7dfc5!important;
  border-radius:7px!important;
  padding:4px 6px!important;
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:750!important;
  text-align:center!important
}
body.dgmb-home .dg-popular-card .dg-featured-draft + *{margin-top:0!important}
body.dgmb-home .dg-popular-progress{background:#e7ece8!important}
body.dgmb-home .dg-most-requested{
  background:#fff!important;
  padding:39px 0 70px!important;
}
body.dgmb-home .dg-most-requested h2{
  color:#24392e!important;
  margin:0!important;
  font-family:'Montserrat','Segoe UI',Arial,sans-serif!important;
  font-size:clamp(28px,3.35vw,42px)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-1px!important
}
body.dgmb-home .dg-most-requested .dg-featured-description{margin-bottom:27px!important}
body.dgmb-home .dg-requested-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:17px!important;
  align-items:stretch!important
}
body.dgmb-home .dg-requested-grid .dg-requested-card{
  width:100%!important;max-width:none!important;min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  padding:13px 6px 6px!important;
  min-height:260px!important
}
body.dgmb-home .dg-requested-grid .dg-popular-title{
  font-size:clamp(12px,1.22vw,15px)!important;
  padding:0 8px!important
}
body.dgmb-home .dg-requested-grid .dg-popular-media{
  width:100%!important;
  aspect-ratio:1.14/1!important
}
body.dgmb-home .dg-featured-end{text-align:center!important;margin:27px 0 0!important}
body.dgmb-home .dg-featured-end .dg-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:1100px){
 body.dgmb-home .dg-requested-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:850px){
 body.dgmb-home .dg-requested-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
}
@media(max-width:650px){
 body.dgmb-home .dg-popular{padding:29px 0 35px!important}
 body.dgmb-home .dg-popular h2{font-size:28px!important}
 body.dgmb-home .dg-featured-description{font-size:12px!important;line-height:1.65!important}
 body.dgmb-home .dg-popular-track{gap:10px!important}
 body.dgmb-home .dg-popular-card{
   flex:0 0 calc((100% - 20px)/3)!important;
   min-height:194px!important;
   padding:9px 4px 4px!important;
   border-radius:11px!important;
 }
 body.dgmb-home .dg-popular-card .dg-popular-title{
   font-size:11px!important;
   padding:0 4px!important;
   min-height:3em!important;
   line-height:1.3!important;
 }
 body.dgmb-home .dg-popular-card .dg-popular-media{aspect-ratio:1/1.05!important;border-radius:8px!important}
 body.dgmb-home .dg-popular-card .dg-featured-draft{
   font-size:7px!important;padding:2px 4px!important;
   right:2px!important;top:2px!important;
 }
 body.dgmb-home .dg-most-requested{padding:32px 0 52px!important}
 body.dgmb-home .dg-most-requested h2{font-size:28px!important}
 body.dgmb-home .dg-requested-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:13px!important
 }
 body.dgmb-home .dg-requested-grid .dg-requested-card{
   flex:unset!important;
   min-height:220px!important;
   padding:12px 6px 6px!important
 }
 body.dgmb-home .dg-requested-grid .dg-popular-title{font-size:13px!important;padding:0 7px!important;min-height:2.8em!important}
 body.dgmb-home .dg-requested-grid .dg-popular-media{aspect-ratio:1.14/1!important}
 body.dgmb-home .dg-featured-end .dg-cta{width:100%!important}
}

/* Mobile carousel refinement: two full cards + the next card peeking in.
   Clear typography and draft labels never cover the service name. */
body.dgmb-home .dg-popular-card{
  gap:12px!important;
  padding:12px 10px 10px!important;
}
body.dgmb-home .dg-popular-card .dg-popular-title{
  padding:0 3px!important;
  font-weight:760!important;
  line-height:1.43!important;
  letter-spacing:-.12px!important;
  min-height:3.1em!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.dgmb-home .dg-popular-card .dg-featured-draft{
  position:static!important;
  inset:auto!important;
  order:-1!important;
  align-self:flex-start!important;
  margin:0 0 2px!important;
  padding:5px 8px!important;
  max-width:100%!important;
  border-radius:7px!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:700!important;
  white-space:normal!important;
  text-align:left!important;
  box-shadow:none!important;
}
body.dgmb-home .dg-popular-card .dg-popular-media{
  margin-top:auto!important;
}
body.dgmb-home .dg-requested-grid .dg-requested-card{
  gap:12px!important;
  padding:14px 10px 10px!important;
}
@media(max-width:900px){
  body.dgmb-home .dg-popular-track{
    gap:12px!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-inline:0!important;
    padding-bottom:14px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card{
    flex:0 0 44%!important;
    width:44%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:264px!important;
    padding:12px 8px 8px!important;
    gap:12px!important;
    border-radius:14px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card .dg-popular-title{
    font-size:clamp(12px,1.85vw,15px)!important;
    line-height:1.4!important;
    min-height:3.5em!important;
    padding:0 4px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card .dg-popular-media{
    aspect-ratio:1.02/1!important;
    border-radius:9px!important;
  }
}
@media(max-width:650px){
  body.dgmb-home .dg-popular-track{
    gap:10px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card{
    flex-basis:44%!important;
    width:44%!important;
    min-height:255px!important;
    padding:10px 7px 7px!important;
    gap:11px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card .dg-popular-title{
    font-size:13px!important;
    line-height:1.43!important;
    font-weight:760!important;
    min-height:4em!important;
    padding:0 5px!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card .dg-featured-draft,
  body.dgmb-home .dg-requested-grid .dg-requested-card .dg-featured-draft{
    font-size:9px!important;
    line-height:1.35!important;
    padding:4px 6px!important;
    position:static!important;
    right:auto!important;
    top:auto!important;
    margin:0 0 2px!important;
    max-width:100%!important;
    order:-1!important;
    align-self:flex-start!important;
  }
  body.dgmb-home .dg-popular-track>.dg-popular-card .dg-popular-media{
    aspect-ratio:1.05/1!important;
  }
  body.dgmb-home .dg-requested-grid .dg-requested-card{
    min-height:250px!important;
    padding:11px 9px 9px!important;
    gap:12px!important;
  }
  body.dgmb-home .dg-requested-grid .dg-requested-card .dg-popular-title{
    font-size:13px!important;
    line-height:1.43!important;
    font-weight:760!important;
    padding:0 4px!important;
    min-height:3.7em!important;
  }
}

@media(max-width:360px){
 body.dgmb-home .dg-requested-grid{gap:9px!important}
 body.dgmb-home .dg-requested-grid .dg-popular-title{font-size:12px!important}
}
